Skip to content

Commit

Permalink
fix: docs/Dockerfile to reduce vulnerabilities (#5406)
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201

Signed-off-by: t-kikuc <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
  • Loading branch information
khanhtc1202 and snyk-bot authored Dec 13, 2024
1 parent b178d40 commit e7cbc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.22.4-alpine3.20 AS builder
COPY main.go .
RUN go build -o /server main.go

FROM alpine:3.20
FROM alpine:3.21.0
RUN apk --no-cache add ca-certificates

COPY --from=builder /server ./
Expand Down

0 comments on commit e7cbc64

Please sign in to comment.