ashb commented on a change in pull request #4938: [AIRFLOW-4117] Multi-staging
Image - Travis CI tests [Step 3/3]
URL: https://github.com/apache/airflow/pull/4938#discussion_r303360995
##########
File path: Dockerfile
##########
@@ -398,6 +398,10 @@ WORKDIR ${AIRFLOW_SOURCES}
ENV PATH="${HOME}:${PATH}"
+# Disable writing .pyc files - slightly slower imports but not messing around
when switching
+# Python version and avoids problems with root-owned .pyc files in host
+ENV PYTHONDONTWRITEBYTECODE="true"
Review comment:
Since this is only designed for "local" mode could we set this as an env var
in the docker-compose file(s) instead of here? (I can already tell people are
going to try and take these CI images and run them before we have a
"production" one ready)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services