Merge "adding go-acc and sonar"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 27 Nov 2019 19:04:29 +0000 (19:04 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Wed, 27 Nov 2019 19:04:29 +0000 (19:04 +0000)
docker/bldr-ubuntu16-c-go/Dockerfile
docker/bldr-ubuntu16-c-go/container-tag.yaml
docker/bldr-ubuntu18-c-go/Dockerfile
docker/bldr-ubuntu18-c-go/container-tag.yaml

index 60007c4..ef75705 100644 (file)
@@ -51,6 +51,13 @@ RUN wget -nv https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.
 RUN wget -nv https://dl.google.com/go/go1.12.linux-amd64.tar.gz \
     && tar -xf go1.12.linux-amd64.tar.gz \
     && mv go /usr/local
+ENV PATH=$PATH:/usr/local/go/bin:/usr/lib/go-1.12/bin
+RUN go get -u github.com/ory/go-acc \
+    && mv ~/go/bin/go-acc /usr/local/go/bin
+
+RUN wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip \
+    && unzip sonar-scanner-cli-3.2.0.1227-linux.zip \
+    && mv sonar-scanner-3.2.0.1227-linux /usr/local/
 
 RUN wget -nv https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip \
     && unzip ninja-linux.zip \
index 0723c4a..265facb 100644 (file)
@@ -1,4 +1,4 @@
 # Not feasible to show all the software versions
 # here so just use a counter plus the base image
 ---
-tag: 2-u16.04-nng
+tag: 3-u16.04-nng
index f7f23b1..47e77fe 100644 (file)
@@ -51,6 +51,13 @@ RUN wget -nv https://github.com/Kitware/CMake/releases/download/v3.14.5/cmake-3.
 RUN wget -nv https://dl.google.com/go/go1.12.linux-amd64.tar.gz \
     && tar -xf go1.12.linux-amd64.tar.gz \
     && mv go /usr/local
+ENV PATH=$PATH:/usr/local/go/bin:/usr/lib/go-1.12/bin
+RUN go get -u github.com/ory/go-acc \
+    && mv ~/go/bin/go-acc /usr/local/go/bin
+
+RUN wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip \
+    && unzip sonar-scanner-cli-3.2.0.1227-linux.zip \
+    && mv sonar-scanner-3.2.0.1227-linux /usr/local/
 
 RUN wget -nv https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip \
     && unzip ninja-linux.zip \
index 15d012e..a6a7a9e 100644 (file)
@@ -1,4 +1,4 @@
 # Not feasible to show all the software versions
 # here so just use a counter plus the base image
 ---
-tag: 2-u18.04-nng
+tag: 3-u18.04-nng