From f51a8f822867931466f42bc32cb0d175fea11eb6 Mon Sep 17 00:00:00 2001 From: Madhu Kumar <37217316+madhukumar7@users.noreply.github.com> Date: Sat, 19 Feb 2022 22:01:55 +0100 Subject: [PATCH] Update Dockerfile Changes included in this PR nginx-golang-mysql/backend/Dockerfile I recommend upgrading to alpine:3.14, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. Some of the most important vulnerabilities in your base image include: Severity Priority Score / 1000 Issue Exploit Maturity high severity 400 Improper Handling of Exceptional Conditions SNYK-ALPINE312-BUSYBOX-1089799 No Known Exploit high severity 400 Improper Handling of Exceptional Conditions SNYK-ALPINE312-BUSYBOX-1089799 No Known Exploit --- nginx-golang-mysql/backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-golang-mysql/backend/Dockerfile b/nginx-golang-mysql/backend/Dockerfile index 36e9525..dbc521d 100755 --- a/nginx-golang-mysql/backend/Dockerfile +++ b/nginx-golang-mysql/backend/Dockerfile @@ -4,7 +4,7 @@ COPY . . RUN go build -o server . -FROM alpine:3.12 +FROM alpine:3.14 EXPOSE 8000 COPY --from=build /go/src/github.com/org/repo/server /server CMD ["/server"]