You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/06/12 10:59:54 UTC
[airflow] branch main updated: Update Dockerfile (#24397)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 5623a5f1bc Update Dockerfile (#24397)
5623a5f1bc is described below
commit 5623a5f1bc83ddc026fd10b4ee14bd9856c2c98a
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Sun Jun 12 22:59:48 2022 +1200
Update Dockerfile (#24397)
---
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 14d3f28137..54161bb005 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1337,7 +1337,7 @@ ENV ADDITIONAL_PYTHON_DEPS=${ADDITIONAL_PYTHON_DEPS} \
AIRFLOW_IS_IN_CONTEXT=${AIRFLOW_IS_IN_CONTEXT} \
EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS=${EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS}
-WORKDIR /opt/airflow
+WORKDIR ${AIRFLOW_HOME}
COPY --from=scripts install_from_docker_context_files.sh install_airflow.sh \
install_additional_dependencies.sh /scripts/docker/
@@ -1472,7 +1472,7 @@ COPY --from=scripts install_mysql.sh install_mssql.sh install_postgres.sh /scrip
# We run scripts with bash here to make sure we can execute the scripts. Changing to +x might have an
# unexpected result - the cache for Dockerfiles might get invalidated in case the host system
# had different umask set and group x bit was not set. In Azure the bit might be not set at all.
-# That also protects against AUFS Docker backen dproblem where changing the executable bit required sync
+# That also protects against AUFS Docker backend problem where changing the executable bit required sync
RUN bash /scripts/docker/install_mysql.sh prod \
&& bash /scripts/docker/install_mssql.sh \
&& bash /scripts/docker/install_postgres.sh prod \