fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5821142
This commit is contained in:
parent
b0790359d5
commit
ef69b92c44
@ -14,7 +14,7 @@ RUN /go/bin/sqlc generate
|
|||||||
RUN go build .
|
RUN go build .
|
||||||
RUN go install github.com/pressly/goose/v3/cmd/goose@latest
|
RUN go install github.com/pressly/goose/v3/cmd/goose@latest
|
||||||
|
|
||||||
FROM alpine:latest as app
|
FROM alpine:3.18.3 as app
|
||||||
|
|
||||||
RUN apk --no-cache add bash
|
RUN apk --no-cache add bash
|
||||||
RUN apk --no-cache add libc6-compat
|
RUN apk --no-cache add libc6-compat
|
||||||
|
Loading…
Reference in New Issue
Block a user