X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=3a0f87067c2fe4c112868d446b3f825d3af32ad8;hb=HEAD;hp=7f313d8e58b0d5a285012fe13ad6f14366b4fe93;hpb=d872630f520b3883e5cfb1815c36aa60862623f7;p=ric-plt%2Fappmgr.git diff --git a/Dockerfile b/Dockerfile index 7f313d8..3a0f870 100755 --- a/Dockerfile +++ b/Dockerfile @@ -15,10 +15,16 @@ #----------------------------------------------------------- -FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 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