Improvements to Dockerfile
s
#1283
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
Problem
The
Dockerfile
s atdocker/local_postgres/Dockerfile
anddocker/airflow/Dockerfile
can be improved.Description
Setting the
DEBIAN_FRONTEND
parameter is discouraged by Docker as it is purely a cosmetic change. This line can be dropped.https://github.com/WordPress/openverse-catalog/blob/de078ce8ed82df3565db0ff3fe1bc8e369468183/docker/local_postgres/Dockerfile#L6
The right env variable for preventing
pip
cache isPIP_NO_CACHE_DIR
.https://github.com/WordPress/openverse-catalog/blob/de078ce8ed82df3565db0ff3fe1bc8e369468183/docker/local_postgres/Dockerfile#L7
The text was updated successfully, but these errors were encountered: