summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
cd47b67)
Issue-Id: RIC-937
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
Change-Id: I42cf862ebb624d76aef32f42d769f886a7382c30
&& mv go /opt/go/1.16 \
&& rm -f go*.gz
&& mv go /opt/go/1.16 \
&& rm -f go*.gz
RUN wget -nv https://dl.google.com/go/go${g17}.linux-amd64.tar.gz \
&& tar -xf go${g17}.linux-amd64.tar.gz \
&& mv go /opt/go/1.17 \
&& rm -f go*.gz
RUN wget -nv https://dl.google.com/go/go${g17}.linux-amd64.tar.gz \
&& tar -xf go${g17}.linux-amd64.tar.gz \
&& mv go /opt/go/1.17 \
&& rm -f go*.gz
-# Default path has go version 1.16.x
+ARG g18="1.18.5"
+RUN wget -nv https://dl.google.com/go/go${g18}.linux-amd64.tar.gz \
+ && tar -xf go${g18}.linux-amd64.tar.gz \
+ && mv go /opt/go/1.18 \
+ && rm -f go*.gz
+
# Use /opt/go/1.16/bin for version 1.16.x
# Use /opt/go/1.17/bin for version 1.17.x
# Use /opt/go/1.16/bin for version 1.16.x
# Use /opt/go/1.17/bin for version 1.17.x
+# Use /opt/go/1.18/bin for version 1.18.x (default)
+ARG GOVERSION=1.18
ENV GOPATH=/root/go
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:$GOPATH/bin
ENV GOPATH=/root/go
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:$GOPATH/bin
# This installs go-acc to GOPATH
RUN go version; \
export GOBIN=/usr/local/bin/; export GO111MODULE=on;\
# This installs go-acc to GOPATH
RUN go version; \
export GOBIN=/usr/local/bin/; export GO111MODULE=on;\
- go get -v github.com/ory/go-acc \
+ go install github.com/ory/go-acc@master \
# sonar-scanner is not available in ubuntu repo
ARG sv="4.2.0.1873"
RUN wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${sv}-linux.zip \
# sonar-scanner is not available in ubuntu repo
ARG sv="4.2.0.1873"
RUN wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${sv}-linux.zip \
# 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
---