From 164f9ea8aba70a1e3da15c715a6abef2a6384143 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 3 Aug 2022 20:43:58 +0000 Subject: [PATCH] fix: build/pgbadger/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN10-DPKG-2847944 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-1569403 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-2426310 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-2807585 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-2933515 --- build/pgbadger/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pgbadger/Dockerfile b/build/pgbadger/Dockerfile index d2f820376..5a6536040 100644 --- a/build/pgbadger/Dockerfile +++ b/build/pgbadger/Dockerfile @@ -2,7 +2,7 @@ ARG BASEOS ARG BASEVER ARG PG_FULL ARG PREFIX -FROM golang:1.15.5 as badgerserver-build +FROM golang:1.18 as badgerserver-build WORKDIR /go/src/github.com/crunchydata/crunchy-containers ADD ./badger ./badger RUN CGO_ENABLED=0 GOOS=linux go build -a -o badgerserver ./badger