X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=3a0f87067c2fe4c112868d446b3f825d3af32ad8;hb=HEAD;hp=5f434399ec4afe9e86ed9ef5c3775921dfc38fed;hpb=78c892e865c7ba0c90ec344ffb10db4ebc461ca9;p=ric-plt%2Fappmgr.git diff --git a/Dockerfile b/Dockerfile index 5f43439..3a0f870 100755 --- a/Dockerfile +++ b/Dockerfile @@ -15,10 +15,16 @@ #----------------------------------------------------------- -FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 AS appmgr-build +FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.0.0 AS appmgr-build RUN apt-get update -y && apt-get install -y jq +# Update CA certificates +RUN apt update && apt install --reinstall -y \ + ca-certificates \ + && \ + update-ca-certificates + ENV PATH="/usr/local/go/bin:${PATH}" # Install helm @@ -67,11 +73,11 @@ RUN gofmt -l $(find cmd/ pkg/ -name '*.go' -not -name '*_test.go') CMD ["/bin/bash"] #---------------------------------------------------------- -FROM ubuntu:18.04 as appmgr +FROM ubuntu:20.04 as appmgr RUN apt-get update -y \ - && apt-get install -y sudo openssl ca-certificates ca-cacert \ - && apt-get clean + && apt-get install --reinstall -y sudo openssl ca-certificates ca-cacert \ + && apt-get clean && update-ca-certificates # # libraries and helm