Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building from requirements in a private repo fails due to permissions #10

Open
mpgreg opened this issue Apr 5, 2023 · 0 comments
Open

Comments

@mpgreg
Copy link

mpgreg commented Apr 5, 2023

When referencing a requirement in a private git repo the buildkit is not able to build despite proper git token caching and commandline access to the git repo.

Dockerfile:

FROM quay.io/astronomer/astro-runtime:7.4.2-base

requirements.txt:
git+https://github.com/astronomer/astro-provider-snowflake.git

astro dev start fails with:

#13 0.394   Cloning https://github.com/astronomer/astro-provider-snowflake.git to /tmp/pip-req-build-d10gal08
#13 0.398   Running command git clone --filter=blob:none --quiet https://github.com/astronomer/astro-provider-snowflake.git /tmp/pip-req-build-d10gal08
#13 0.636   fatal: could not read Username for 'https://github.com': No such device or address

The same code works fine if the repo is public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant