From f24cb0e694d46d622786f3f3e8cdf0276ccf4c45 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 1 Jul 2024 00:47:59 +0000 Subject: [PATCH] fix: src/currencyservice/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413525 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413525 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413536 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-7413536 --- src/currencyservice/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/currencyservice/Dockerfile b/src/currencyservice/Dockerfile index 310bd5aa78..a5100a3fc2 100644 --- a/src/currencyservice/Dockerfile +++ b/src/currencyservice/Dockerfile @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM alpine:3.18 as builder +FROM alpine:3 as builder RUN apk update && apk add git cmake make g++ grpc-dev protobuf-dev linux-headers @@ -39,7 +39,7 @@ RUN cd /currencyservice \ && make -j$(nproc || sysctl -n hw.ncpu || echo 1) install -FROM alpine:3.18 as release +FROM alpine:3 as release RUN apk update && apk add grpc-dev protobuf-dev COPY --from=builder /usr/local /usr/local