Skip to content

Commit

Permalink
Use golang:1.20 as the base image instead of alpine
Browse files Browse the repository at this point in the history
Signed-off-by: Jerico Pena <[email protected]>
  • Loading branch information
jericop committed Aug 4, 2023
1 parent 0ad7c0a commit 7847634
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM golang:1.20-alpine as builder
FROM golang:1.20 as builder
ARG pack_version
ENV PACK_VERSION=$pack_version
WORKDIR /app
COPY . .
RUN apk update && apk upgrade && apk add --no-cache make ca-certificates
RUN update-ca-certificates
RUN make build

FROM scratch
Expand Down

0 comments on commit 7847634

Please sign in to comment.