potiuk 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_r303363631
##########
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:
Sure. I would have to move it to all scripts then because we use those
scripts in_container as entrypoints (so the test entrypoint will not be used).
But since we have now _in_container_utils.sh source everywhere it will be easy.
----------------------------------------------------------------
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