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_r303365558
##########
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:
It can't live in the `environment:` section of the compose file?
----------------------------------------------------------------
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