Comment apt cache line

This commit is contained in:
Tiago Daniel Jacobs 2019-12-09 01:46:31 -03:00
parent ca969900fb
commit 697fd054fb

View File

@ -7,7 +7,7 @@ ENV container docker
RUN apt-get update && apt-get install -y netcat
# -- Test if we have apt cache running on docker host, if yes, use it.
RUN nc -zv host.docker.internal 3142 &> /dev/null && echo 'Acquire::http::Proxy "http://host.docker.internal:3142";' > /etc/apt/apt.conf.d/01proxy
# RUN nc -zv host.docker.internal 3142 &> /dev/null && echo 'Acquire::http::Proxy "http://host.docker.internal:3142";' > /etc/apt/apt.conf.d/01proxy
# -- Install utils
RUN apt-get update && apt-get install -y wget apt-transport-https