Skip to content

git clone of 01-edu/go-tests fails during container startup (private repo, no credentials) #5

Description

@WaleedAlBalushi

Running the container per the README instructions:

docker run --name tester -p 3000:3000 ghcr.io/extbh/01studenttester:latest

Setup fails partway through with:

fatal: could not read Username for 'https://github.com': No such device or address

Full log:
=== Starting environment preparation ===
Cleaning previous runs...
Creating student directory template...
Initializing Go module...
Installing static checker...
Cloning into 'rc'...
Building static checker...
Installing Go tests...
Cloning into 'go-tests'...
fatal: could not read Username for 'https://github.com': No such device or address

It looks like the container tries to clone 01-edu/go-tests, which appears
to be a private repository, and there's no credential/token set up for it
in the image. Is there an env var I'm supposed to pass in (e.g. a GitHub
token), or has this repo recently gone private and broken the image?

Environment: Docker Engine 29.6.1, running inside WSL2 (Ubuntu) on Windows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions