os: vuls: Pin to latest stable release 95/3595/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 24 Jun 2020 15:44:40 +0000 (17:44 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 24 Jun 2020 16:00:45 +0000 (18:00 +0200)
Pin vuls & its related tools (go-cve-dictionary, goval-dictionary,
gost) to the currently latest stable version/tag.

Note that this does not pin other tools, e.g. LTP, lynis.

JIRA: VAL-118

Change-Id: I2736d9a97cae5c1aa2b6275aae9ce88f182c4e18
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
docker/os/Dockerfile

index 1981b16..3f3fe95 100644 (file)
@@ -69,18 +69,18 @@ RUN if [ $(uname -m) == 'aarch64' ]; then HOST_ARCH=arm64; else HOST_ARCH=amd64;
     export PATH=$PATH:/root/go/bin:/root/go/src/github.com/bin && \
     mkdir -p /root/go/src/github.com/future-architect && \
     cd /root/go/src/github.com/future-architect && \
-    git clone https://github.com/future-architect/vuls && \
+    git clone https://github.com/future-architect/vuls -b v0.9.7 && \
     cd vuls && \
     make install && \
     mkdir -p /root/go/src/github.com/kotakanbe && \
-    git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/go-cve-dictionary.git && \
+    git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/go-cve-dictionary.git -b v0.5.0 && \
     cd /root/go/src/github.com/kotakanbe/go-cve-dictionary/ && \
     make install && \
-    git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/goval-dictionary.git && \
+    git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/goval-dictionary.git -b v0.2.8 && \
     cd /root/go/src/github.com/kotakanbe/goval-dictionary && \
     make install && \
     mkdir -p /root/go/src/github.com/knqyf263 && \
-    git -C /root/go/src/github.com/knqyf263 clone https://github.com/knqyf263/gost.git && \
+    git -C /root/go/src/github.com/knqyf263 clone https://github.com/knqyf263/gost.git -b v0.1.3 && \
     cd /root/go/src/github.com/knqyf263/gost && \
     make install