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>
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 && \
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 && \
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 && \
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 && \
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
cd /root/go/src/github.com/knqyf263/gost && \
make install