alpine3-go upgrades from 1.13.7 to 1.13.8
ubuntu 18.04 upgrades from 1.12.16 to 1.12.17
and from 1.13.7 to 1.13.8; adds 1.14
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I6d8c58b7d0b48f842fa2160fff18987f4946efcc
# ==================================================================================
# Has:
# ==================================================================================
# Has:
# alpine 3.11
# rmr 1.13.1
# Installing this version of rmr also pulls in nng
# install a well known working rmr
# alpine 3.11
# rmr 1.13.1
# Installing this version of rmr also pulls in nng
# install a well known working rmr
-FROM golang:1.13.7-alpine3.11
+FROM golang:1.13.8-alpine3.11
RUN apk update && apk add autoconf automake build-base cmake libtool ninja pkgconfig git
RUN git clone --branch 1.13.1 https://gerrit.oran-osc.org/r/ric-plt/lib/rmr \
&& cd rmr \
RUN apk update && apk add autoconf automake build-base cmake libtool ninja pkgconfig git
RUN git clone --branch 1.13.1 https://gerrit.oran-osc.org/r/ric-plt/lib/rmr \
&& cd rmr \
# Install go versions in /opt
RUN mkdir -p /opt/go
# Install go versions in /opt
RUN mkdir -p /opt/go
RUN wget -nv https://dl.google.com/go/go${g12}.linux-amd64.tar.gz \
&& tar -xf go${g12}.linux-amd64.tar.gz \
&& mv go /opt/go/1.12 \
&& rm -f go*.gz
RUN wget -nv https://dl.google.com/go/go${g12}.linux-amd64.tar.gz \
&& tar -xf go${g12}.linux-amd64.tar.gz \
&& mv go /opt/go/1.12 \
&& rm -f go*.gz
RUN wget -nv https://dl.google.com/go/go${g13}.linux-amd64.tar.gz \
&& tar -xf go${g13}.linux-amd64.tar.gz \
&& mv go /opt/go/1.13 \
&& rm -f go*.gz
RUN wget -nv https://dl.google.com/go/go${g13}.linux-amd64.tar.gz \
&& tar -xf go${g13}.linux-amd64.tar.gz \
&& mv go /opt/go/1.13 \
&& rm -f go*.gz
+ARG g14="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/1.14 \
+ && rm -f go*.gz
+
ENV GOPATH=/root/go
# Default path has go version 1.12.x
# Use /opt/go/1.13/bin for version 1.13.x
ENV GOPATH=/root/go
# Default path has go version 1.12.x
# Use /opt/go/1.13/bin for version 1.13.x
+# Use /opt/go/1.14/bin for version 1.14.x
ENV PATH=$PATH:/opt/go/1.12/bin:$GOPATH/bin
# This installs go-acc to GOPATH
ENV PATH=$PATH:/opt/go/1.12/bin:$GOPATH/bin
# This installs go-acc to GOPATH
# Not feasible to show all the software versions
# here so just use a counter plus the base image
---
# Not feasible to show all the software versions
# here so just use a counter plus the base image
---