From 776e819442dd3b6f511adf01ec4bce92875d3f6f Mon Sep 17 00:00:00 2001 From: Vedant Mahabaleshwarkar Date: Mon, 16 Mar 2020 14:48:23 -0400 Subject: [PATCH 1/2] user Airflow in group root --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 02782d0c..1c2b875d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,6 +77,7 @@ COPY script/entrypoint.sh /entrypoint.sh COPY config/airflow.cfg ${AIRFLOW_USER_HOME}/airflow.cfg RUN chown -R airflow: ${AIRFLOW_USER_HOME} +RUN chgrp -R 0 /usr/local/airflow && chmod -R g+rwX /usr/local/airflow EXPOSE 8080 5555 8793 From 4c57f3f812ad78409026b4a41441a38f08c3730a Mon Sep 17 00:00:00 2001 From: Vedant Mahabaleshwarkar Date: Mon, 16 Mar 2020 15:27:14 -0400 Subject: [PATCH 2/2] user Airflow in group root --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1c2b875d..ad1324cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,7 +77,7 @@ COPY script/entrypoint.sh /entrypoint.sh COPY config/airflow.cfg ${AIRFLOW_USER_HOME}/airflow.cfg RUN chown -R airflow: ${AIRFLOW_USER_HOME} -RUN chgrp -R 0 /usr/local/airflow && chmod -R g+rwX /usr/local/airflow +RUN chgrp -R 0 ${AIRFLOW_USER_HOME} && chmod -R g+rwX ${AIRFLOW_USER_HOME} EXPOSE 8080 5555 8793