Skip to content

Commit

Permalink
add tzdata and certs
Browse files Browse the repository at this point in the history
  • Loading branch information
theruziev committed Feb 4, 2024
1 parent b665c64 commit 02f87af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .theruziev/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ ARG PACKAGE_PREFIX=""
ARG GIT_TAG="dev"
ARG GIT_COMMIT=""

RUN apk update && apk upgrade && apk add --no-cache ca-certificates tzdata
RUN update-ca-certificates


WORKDIR /app

Expand All @@ -22,6 +25,8 @@ RUN go build -o app -ldflags="\
FROM scratch

COPY --from=builder /app/app .
COPY --from=builder /etc/ssl /etc/ssl/
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo

# import curl from current repository image
COPY --from=ghcr.io/tarampampam/curl:8.0.1 /bin/curl /bin/curl
Expand Down

0 comments on commit 02f87af

Please sign in to comment.