Fokko commented on a change in pull request #4543: [AIRFLOW-3718] Multi-layered 
version of the docker image
URL: https://github.com/apache/airflow/pull/4543#discussion_r248563378
 
 

 ##########
 File path: Dockerfile
 ##########
 @@ -16,26 +16,83 @@
 
 FROM python:3.6-slim
 
-COPY . /opt/airflow/
+SHELL ["/bin/bash", "-c"]
+
+# Make sure noninteractie debian install is used
+ENV DEBIAN_FRONTEND=noninteractive
+
+# Increase the value to force renstalling of all apt-get dependencies
+ENV FORCE_REINSTALL_APT_GET_DEPENDENCIES=1
+
+# Install core build dependencies
+RUN apt-get update \
 
 Review comment:
   Why not combine these two `RUN` commands? We're doing exactly the same twice.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to