michaeljmarshall commented on a change in pull request #14513: URL: https://github.com/apache/pulsar/pull/14513#discussion_r816994480
########## File path: docker/pulsar/Dockerfile ########## @@ -51,6 +51,7 @@ ARG UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt # Install some utilities RUN sed -i "s|http://archive\.ubuntu\.com/ubuntu/|${UBUNTU_MIRROR:-mirror://mirrors.ubuntu.com/mirrors.txt}|g" /etc/apt/sources.list \ + && echo 'Acquire::http::Timeout "30";\nAcquire::ftp::Timeout "30";\nAcquire::Retries "3";' > /etc/apt/apt.conf.d/99timeout_and_retries \ Review comment: @lhotari - I think we should consider adding a line at the end of this `RUN` directive that removes `/etc/apt/apt.conf.d/99timeout_and_retries`. I don't think there is a reason to leave this configuration in the container image for derivative images or for the container runtime. -- 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]
