From ece47698e72c43fe91bfce460fcbc14bdfa8f181 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 2 Jul 2024 08:47:41 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-6474581 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277509 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e5e443a..6a88702 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM debian:bookworm as stage +FROM debian:12.6 as stage ARG PACKAGE_BASEURL=https://download.zerotier.com/debian/bookworm/pool/main/z/zerotier-one ARG ARCH=amd64 ARG VERSION=1.12.2 RUN apt-get update -qq && apt-get install -qq --no-install-recommends -y ca-certificates curl RUN curl -sSL -o zerotier-one.deb "${PACKAGE_BASEURL}/zerotier-one_${VERSION}_${ARCH}.deb" -FROM debian:bookworm +FROM debian:12.6 RUN mkdir /app WORKDIR /app COPY --from=stage zerotier-one.deb .