Skip to content

Commit

Permalink
Add missing '--no-cache-dir' in 1.10.12 alpine image (#230)
Browse files Browse the repository at this point in the history
1.10.12 alpine image missed `--no-cache-dir`, hence the final docker image was big.

This commit adds it back to pip install command
  • Loading branch information
kaxil committed Mar 19, 2021
1 parent 0d29437 commit 6cc5015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.10.12/alpine3.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ RUN echo https://github.com/astronomer/ap-airflow/raw/${REPO_BRANCH}/alpine-pack
&& update-ca-certificates \
&& cp /usr/share/zoneinfo/UTC /etc/localtime \
&& pip3 install --no-cache-dir --upgrade snowflake-connector-python==1.9.1 \
&& pip3 install "${AIRFLOW_MODULE}" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-3.7.txt" \
&& pip3 install --no-cache-dir "${AIRFLOW_MODULE}" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-3.7.txt" \
&& pip3 install --no-cache-dir "https://github.com/astronomer/astronomer-airflow-scripts/releases/download/v0.0.5/astronomer_airflow_scripts-0.0.5-py3-none-any.whl" \
&& pip3 install --no-cache-dir "astronomer-fab-security-manager~=1.2, >=1.2.2" \
&& apk del .build-deps py3-numpy-dev \
Expand Down

0 comments on commit 6cc5015

Please sign in to comment.