Skip to content

Commit

Permalink
[AIRFLOW-5111] Remove apt-get upgrade (apache#5722)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko authored and potiuk committed Aug 6, 2019
1 parent 38d977d commit 9c180de
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,6 @@ RUN \
gosu ${AIRFLOW_USER} npm run prod; \
fi

# Always apt-get update/upgrade here to get latest dependencies before
# we redo pip install
RUN apt-get update \
&& apt-get upgrade -y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Cache for this line will be automatically invalidated if any
# of airflow sources change
COPY --chown=airflow:airflow . ${AIRFLOW_SOURCES}/
Expand All @@ -375,13 +368,6 @@ WORKDIR ${AIRFLOW_SOURCES}
# Finally install the requirements from the latest sources
RUN pip install --no-use-pep517 -e ".[${AIRFLOW_EXTRAS}]"

# Always add-get update/upgrade here to get latest dependencies before
# we redo pip install
RUN apt-get update \
&& apt-get upgrade -y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Additional python deps to install
ARG ADDITIONAL_PYTHON_DEPS=""

Expand Down

0 comments on commit 9c180de

Please sign in to comment.