summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
40a8b1b)
Change-Id: Icf22a0e4ee6b7fe6fd8780a9afc00b49552b0d3b
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
###########################################################
FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as submgrcore
###########################################################
FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as submgrcore
-ARG GOVERSION=1.14
-
-ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/opt/go/${GOVERSION}/bin:/root/go/bin
+ARG g14="1.14.4"
+ARG GOVERSION="1.14"
+RUN wget -nv https://dl.google.com/go/go${g14}.linux-amd64.tar.gz \
+ && tar -xf go${g14}.linux-amd64.tar.gz \
+ && mv go /opt/go/${GOVERSION} \
+ && rm -f go*.gz
+
+ENV DEFAULTPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ENV PATH=$DEFAULTPATH:/usr/local/go/bin:/opt/go/${GOVERSION}/bin:/root/go/bin
# Update CA certificates
RUN apt update && apt install --reinstall -y \
# Update CA certificates
RUN apt update && apt install --reinstall -y \