feluelle commented on a change in pull request #9378:
URL: https://github.com/apache/airflow/pull/9378#discussion_r442216176



##########
File path: Dockerfile.ci
##########
@@ -315,6 +315,9 @@ WORKDIR ${AIRFLOW_SOURCES}
 
 ENV PATH="${HOME}:${PATH}"
 
+# Needed to stop Gunicorn from crashing when /tmp is now mounted from host
+ENV GUNICORN_CMD_ARGS="--worker-tmp-dir /opt/airflow/tmp"

Review comment:
       I used the env var approach because that is the easiest way if you do 
not have access to the env directly.
   
   If we would just pass `--worker-tmp-dir` as a breeze cli argument that would 
probably be better to handle?




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


Reply via email to