Skip to content

Commit

Permalink
Install ca-certificates in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
praseodym authored Jul 25, 2023
1 parent cd77198 commit 7f8e74f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ RUN go mod download
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go install

FROM debian:bookworm-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
rm -rf /var/lib/apt/lists/*
WORKDIR /srv
COPY --from=builder /go/bin/mand /srv
COPY ./web /srv/web
Expand Down

0 comments on commit 7f8e74f

Please sign in to comment.