From 4b3bf154e21874a4c46e0251f14d41d2adbe45ac Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Wed, 24 Jun 2020 17:44:40 +0200 Subject: [PATCH] os: vuls: Pin to latest stable release 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 --- docker/os/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/os/Dockerfile b/docker/os/Dockerfile index 1981b16..3f3fe95 100644 --- a/docker/os/Dockerfile +++ b/docker/os/Dockerfile @@ -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 -- 2.16.6