X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=Dockerfile;h=d0fd0ba64a4b066cae5082d984032fb410f2318e;hb=c7e646225214c583463c859f267d314fb04e829e;hp=f222244fed29cbb08bae5199e237a2187a12bdd6;hpb=a2503ee1732f9a8beeba8e04b5a5e0750dbb825d;p=osm%2FNG-UI.git diff --git a/Dockerfile b/Dockerfile index f222244..d0fd0ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,13 @@ # devops-stages/stage-build.sh # -FROM ubuntu:18.04 +FROM ubuntu:22.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 \