X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNG-UI.git;a=blobdiff_plain;f=Dockerfile;h=d09288637380603b8a87119a2549a88498618087;hp=f222244fed29cbb08bae5199e237a2187a12bdd6;hb=398dbfd76ff74a19d57b83ed9a6c526ed77551c2;hpb=3be46b807062e09875600bdeab39035bbbc96934 diff --git a/Dockerfile b/Dockerfile index f222244..d092886 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,13 @@ # devops-stages/stage-build.sh # -FROM ubuntu:18.04 +FROM ubuntu:20.04 + +ARG APT_PROXY +RUN if [ ! -z $APT_PROXY ] ; then \ + echo "Acquire::http::Proxy \"$APT_PROXY\";" > /etc/apt/apt.conf.d/proxy.conf ;\ + echo "Acquire::https::Proxy \"$APT_PROXY\";" >> /etc/apt/apt.conf.d/proxy.conf ;\ + fi RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get -y install \