From e5a3f802f30af3b50f43a6ef9e942720743ef59f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 20 May 2021 19:38:28 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2004-BASH-581100 - https://snyk.io/vuln/SNYK-UBUNTU2004-SYSTEMD-1290722 - https://snyk.io/vuln/SNYK-UBUNTU2004-SYSTEMD-1290722 - https://snyk.io/vuln/SNYK-UBUNTU2004-SYSTEMD-582552 - https://snyk.io/vuln/SNYK-UBUNTU2004-SYSTEMD-582552 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9f37fc..9a974df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 #*********************************************************************/ -FROM ubuntu:20.04 AS rpc-builder +FROM ubuntu:groovy-20210416 AS rpc-builder WORKDIR / ARG DEBIAN_FRONTEND=noninteractive @@ -23,7 +23,7 @@ WORKDIR /rpc/build RUN cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=/rpc/vcpkg/scripts/buildsystems/vcpkg.cmake .. RUN cmake --build . -FROM ubuntu:20.04 +FROM ubuntu:groovy-20210416 LABEL license='SPDX-License-Identifier: Apache-2.0' \ copyright='Copyright (c) 2021: Intel'