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_r304354525
 
 

 ##########
 File path: scripts/ci/_utils.sh
 ##########
 @@ -61,13 +65,15 @@ if [[ ${AIRFLOW_MOUNT_HOST_VOLUMES_FOR_STATIC_CHECKS} == 
"true" ]]; then
       "-v" "${AIRFLOW_SOURCES}/logs:/opt/airflow/logs:cached" \
       "-v" "${AIRFLOW_SOURCES}/logs:/root/logs:cached" \
       "-v" "${AIRFLOW_SOURCES}/tmp:/opt/airflow/tmp:cached" \
-      "-t"
+      "-e" "PYTHONDONTWRITEBYTECODE=true" \
     )
 else
     echo
     echo "Skip mounting host volumes to Docker"
     echo
-    AIRFLOW_CONTAINER_EXTRA_DOCKER_FLAGS=("-t")
+    AIRFLOW_CONTAINER_EXTRA_DOCKER_FLAGS=( \
+        "-e" "PYTHONDONTWRITEBYTECODE=true" \
 
 Review comment:
   You removed `-t` here -- did you mean to?

----------------------------------------------------------------
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

Reply via email to