Merge branch 'update-depscan-image-cve-search' into 'master'

Add cve-search Docker image

See merge request gitlab-org/gitlab-build-images!302
This commit is contained in:
Stan Hu 2020-06-10 18:45:51 +00:00
commit 7444de877a
2 changed files with 13 additions and 0 deletions

View file

@ -99,6 +99,8 @@ omnibus-gitlab-stretch test: *test_build
omnibus-gitlab-buster test: *test_build omnibus-gitlab-buster test: *test_build
omnibus-gitlab-xenial test: *test_build omnibus-gitlab-xenial test: *test_build
omnibus-gitlab-depscan test: *test_build omnibus-gitlab-depscan test: *test_build
omnibus-gitlab-cve-search test: *test_build
release-tools test: *test_build release-tools test: *test_build
sitespeed-gitlab test: *test_build sitespeed-gitlab test: *test_build
ubi-release test: *test_build ubi-release test: *test_build
@ -156,6 +158,7 @@ omnibus-gitlab-stretch: *build_and_deploy
omnibus-gitlab-buster: *build_and_deploy omnibus-gitlab-buster: *build_and_deploy
omnibus-gitlab-xenial: *build_and_deploy omnibus-gitlab-xenial: *build_and_deploy
omnibus-gitlab-depscan: *build_and_deploy omnibus-gitlab-depscan: *build_and_deploy
omnibus-gitlab-cve-search: *build_and_deploy
release-tools: *build_and_deploy release-tools: *build_and_deploy
sitespeed-gitlab: *build_and_deploy sitespeed-gitlab: *build_and_deploy
ubi-release: *build_and_deploy ubi-release: *build_and_deploy

View file

@ -0,0 +1,10 @@
FROM alpine:3.7
RUN apk --no-cache add \
jq git python3 python3-dev libxml2 libxml2-dev libxslt-dev g++ mongodb-tools curl wget bc bash
RUN git clone https://github.com/cve-search/cve-search.git --branch v2.8 --single-branch /app
WORKDIR /app
RUN pip3 install -r requirements.txt