Skip to content

Commit

Permalink
Merge pull request #272 from hyooookyung/fix/docker-vulnerability
Browse files Browse the repository at this point in the history
Added vulnerability fixes for Alpine Linux OS
  • Loading branch information
derailed authored Jan 20, 2024
2 parents fe4a1a9 + 8ab2785 commit f816a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -----------------------------------------------------------------------------
# Build...
FROM golang:1.18.1-alpine3.14 AS build
FROM golang:1.21-alpine3.19 AS build

WORKDIR /popeye

Expand All @@ -13,7 +13,7 @@ RUN apk --no-cache add make git gcc libc-dev curl ca-certificates && make build

# -----------------------------------------------------------------------------
# Image...
FROM alpine:3.14.0
FROM alpine:3.19.0

COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /popeye/execs/popeye /bin/popeye
Expand Down

0 comments on commit f816a8e

Please sign in to comment.