From 9fbaf25a0af9016034e794f80411c98f435dc474 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 19 Jun 2021 04:18:29 +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-NETTLE-1303240 - https://snyk.io/vuln/SNYK-UBUNTU2004-NETTLE-1303240 - https://snyk.io/vuln/SNYK-UBUNTU2004-SYSTEMD-1290722 - https://snyk.io/vuln/SNYK-UBUNTU2004-SYSTEMD-1290722 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9f37fc..79ad575 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-20210614 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-20210614 LABEL license='SPDX-License-Identifier: Apache-2.0' \ copyright='Copyright (c) 2021: Intel'