From 8367b45da1db475325ca6dfbc8b45f257cccedb7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 1 Mar 2023 18:58:28 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-GNUPG2-3330745 - https://snyk.io/vuln/SNYK-DEBIAN11-GNUTLS28-3318299 - https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-524883 - https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-524883 - https://snyk.io/vuln/SNYK-DEBIAN11-LIBGCRYPT20-1297892 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b8ca883..5eb2f12 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:11 RUN apt-get update && \ apt-get upgrade -y && \ apt-get install --no-install-recommends -y libssl-dev && \