# ==================================================================================
# Has:
-# golang 1.13.7
+# golang 1.13.8
# 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 \
# Install go versions in /opt
RUN mkdir -p /opt/go
-ARG g12="1.12.16"
+ARG g12="1.12.17"
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
-ARG g13="1.13.7"
+ARG g13="1.13.8"
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
+# 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