potiuk commented on a change in pull request #20238:
URL: https://github.com/apache/airflow/pull/20238#discussion_r776097411



##########
File path: Dockerfile
##########
@@ -62,6 +65,7 @@ ENV PYTHON_BASE_IMAGE=${PYTHON_BASE_IMAGE} \
 
 # Install curl and gnupg2 - needed for many other installation steps
 RUN apt-get update \
+    && apt-get install --no-install-recommends -yqq apt-utils >/dev/null 2>&1 \

Review comment:
       However - I think that is a good idea eventually and I merged this RUN 
with the next one.
   
   Also. I realized that you asked for the
   
   ```
       && apt-get install --no-install-recommends -yqq apt-utils >/dev/null 
2>&1 \
   ```
   
   The main reson is that you need to install apt-utils to get rid of some 
warnings printed by apt-get. But I do not want to redirect stderr to /dev/null 
for all installation steps (just in case of some errors) - so i only redirect 
stderr in this one step (otherwise installing apt-utils would produce an stderr 
warning too).
   




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to