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

Feature request: Option to specify packages as list instead of only requirements file #16

Open
mpgreg opened this issue Apr 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mpgreg
Copy link

mpgreg commented Apr 19, 2023

When creating a PYENV with only a few packages it would be preferable to specify them inline in the Dockerfile rather than a single line in a requirements.txt. This may also help with layer caching.

Current:
requirements.txt

pandas

Dockerfile

# syntax=quay.io/astronomer/airflow-extensions:latest
FROM quay.io/astronomer/astro-runtime:7.4.2-base
PYENV 3.8 myenv requirements.txt

Desired:

# syntax=quay.io/astronomer/airflow-extensions:latest
FROM quay.io/astronomer/astro-runtime:7.4.2-base
PYENV 3.8 myenv pandas
@mpgreg mpgreg changed the title Feature request: Specify packages as list instead of requirements file Feature request: Option to specify packages as list instead of only requirements file Apr 21, 2023
@ashb ashb added the enhancement New feature or request label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants