From bcb1efe9d7b210ef4022ebe3a6cc85c3c5fda1e7 Mon Sep 17 00:00:00 2001 From: 5941 Date: Thu, 12 Aug 2021 14:53:06 +0000 Subject: [PATCH] updated to lastest version --- Dockerfile | 5 +++-- README.md | 4 ++-- hardening_manifest.yaml | 10 +++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38292ac..61935ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ ARG BASE_REGISTRY=registry1.dsop.io ARG BASE_IMAGE=redhat/openjdk/openjdk8 ARG BASE_TAG=1.8.0 FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} + USER root ### add licenses to this directory @@ -17,8 +18,8 @@ RUN INSTALL_PKGS="ruby unzip" && \ ### Arguments and Environment variables ENV user dependencycheck -ARG SDP_BUILD_DEPENDENCY_VERSION="dcar-2.0" -ENV OWASP_DEP_CHK_VERSION 6.1.6 +ARG SDP_BUILD_DEPENDENCY_VERSION="dcar-2.1" +ENV OWASP_DEP_CHK_VERSION 6.2.2 ### Fetch dependency bundle RUN mkdir /root/tmp diff --git a/README.md b/README.md index 75df5ed..699ce70 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OWASP Dependency Check Container Version 6.1.6 +# OWASP Dependency Check Container Version 6.2.2 ## Introduction @@ -11,7 +11,7 @@ The following is a list of variables: ARG BASE_REGISTRY = defines the registry portion of the OS image to be used in the FROM command. ARG BASE_IMAGE = defines the image portion of the OS image to be used in the FROM command. ARG BASE_TAG = defines the tag portion of the OS image to be used in the FROM command. -ARG SDP_BUILD_DEPENDENCY_VERSION = defines the release in https://github.com/boozallen/sdp-images/releases that the dependency bundle should be pulled from - default dcar-2.0 +ARG SDP_BUILD_DEPENDENCY_VERSION = defines the release in https://github.com/boozallen/sdp-images/releases that the dependency bundle should be pulled from - default dcar-2.1 ``` Recommended resources for the image: diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml index 46f2c60..a93732e 100644 --- a/hardening_manifest.yaml +++ b/hardening_manifest.yaml @@ -8,7 +8,7 @@ name: "solutions-delivery-platform/dependency-check/dependency-check" # The most specific version should be the first tag and will be shown # on ironbank.dsop.io tags: -- "6.1.6" +- "6.2.2" - "latest" # Build args passed to Dockerfile ARGs @@ -27,7 +27,7 @@ labels: org.opencontainers.image.url: "https://github.com/boozallen/sdp-images" ## Name of the distributing entity, organization or individual org.opencontainers.image.vendor: "Booz Allen Hamilton" - org.opencontainers.image.version: "6.1.6" + org.opencontainers.image.version: "6.2.2" ## Keywords to help with search (ex. "cicd,gitops,golang") mil.dso.ironbank.image.keywords: "OWASP, dependency, check, dependency-check, SDP, cve, scanner, scan" ## This value can be "opensource" or "commercial" @@ -37,11 +37,11 @@ labels: # List of resources to make available to the offline build context resources: -- filename: owasp-dep-check-dependencies-dcar-2.0.tar.gz - url: https://github.com/boozallen/sdp-images/releases/download/dcar-2.0/owasp-dep-check-dependencies-dcar-2.0.tar.gz +- filename: owasp-dep-check-dependencies-dcar-2.1.tar.gz + url: https://github.com/boozallen/sdp-images/releases/download/dcar-2.1/owasp-dep-check-dependencies-dcar-2.1.tar.gz validation: type: sha256 - value: 0bfbeedf54fea7b3633103a9e9fdc20ab1427b1a0f48921d88551717316647ec + value: 9fb64f6442b55b9a4717187fb01afe0ac741a90b06e5a2bd88426f380f6064dc # List of project maintainers # FIXME: Fill in the following details for the current container owner in the whitelist -- GitLab