forked from extern/docker
Comment apt cache line
This commit is contained in:
parent
ca969900fb
commit
697fd054fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user