From 884a88ec4a7474fad6c55612eec4ca0f2af034e4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 7 Sep 2024 16:36:51 +0000 Subject: [PATCH] fix: src/currencyservice/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537 --- src/currencyservice/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/currencyservice/Dockerfile b/src/currencyservice/Dockerfile index bce1f101dc..df3dfc87ff 100644 --- a/src/currencyservice/Dockerfile +++ b/src/currencyservice/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM alpine as builder +FROM alpine:3.20.3 as builder RUN apk update RUN apk add git cmake make g++ grpc-dev re2-dev protobuf-dev c-ares-dev @@ -34,7 +34,7 @@ RUN cd /currencyservice \ && cmake .. \ && make -j$(nproc || sysctl -n hw.ncpu || echo 1) install -FROM alpine +FROM alpine:3.20.3 WORKDIR /usr/src/app/