Skip to content

Commit

Permalink
fix: use apk instead of apt-get in alpine (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumachan-mis authored Jan 14, 2024
1 parent 9f1b693 commit 80d9fc7
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
Expand Up @@ -7,8 +7,8 @@ COPY internal/ internal/
COPY go.sum go.sum
COPY go.mod go.mod

RUN apt-get update && \
apt-get install -y ca-certificates && \
RUN apk update && \
apk add --no-cache --quiet ca-certificates && \
update-ca-certificates && \
go build -o app cmd/app/main.go

Expand Down

0 comments on commit 80d9fc7

Please sign in to comment.