From 34fc4a7e2273ae1d54a36efc02970686ffba32ff Mon Sep 17 00:00:00 2001 From: Dustin Collins <714871-dustinmm80@users.noreply.gitlab.com> Date: Wed, 10 Jun 2020 18:45:51 +0000 Subject: [PATCH] Add cve-search Docker image --- .gitlab-ci.yml | 3 +++ Dockerfile.omnibus-gitlab-cve-search | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 Dockerfile.omnibus-gitlab-cve-search diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 444f9ca..558aa96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,6 +99,8 @@ omnibus-gitlab-stretch test: *test_build omnibus-gitlab-buster test: *test_build omnibus-gitlab-xenial test: *test_build omnibus-gitlab-depscan test: *test_build +omnibus-gitlab-cve-search test: *test_build + release-tools test: *test_build sitespeed-gitlab 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-xenial: *build_and_deploy omnibus-gitlab-depscan: *build_and_deploy +omnibus-gitlab-cve-search: *build_and_deploy release-tools: *build_and_deploy sitespeed-gitlab: *build_and_deploy ubi-release: *build_and_deploy diff --git a/Dockerfile.omnibus-gitlab-cve-search b/Dockerfile.omnibus-gitlab-cve-search new file mode 100644 index 0000000..b877a0f --- /dev/null +++ b/Dockerfile.omnibus-gitlab-cve-search @@ -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