From: Alexandru Avadanii Date: Wed, 24 Jun 2020 15:44:40 +0000 (+0200) Subject: os: vuls: Pin to latest stable release X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=4b3bf154e21874a4c46e0251f14d41d2adbe45ac;p=validation.git 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 --- 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