From ef4a168ada400fbc7f09c60605d6a607883eb696 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 20 Dec 2023 14:02:29 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-6062100 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6123823 - https://snyk.io/vuln/SNYK-DEBIAN12-NCURSES-6123823 - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-6085273 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b8ca883..abf1366 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ WORKDIR /build RUN GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -v -o srtrelay . # clean start -FROM debian:latest +FROM debian:12 RUN apt-get update && \ apt-get upgrade -y && \ apt-get install --no-install-recommends -y libssl-dev && \