Add timezone database to container
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Ryan Cavicchioni 2022-09-05 23:48:44 -05:00
parent 141acc6980
commit 6de36ffb95
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -6,4 +6,6 @@ RUN CGO_ENABLED=0 go build ./cmd/bb
FROM scratch AS bin FROM scratch AS bin
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /src/bb / COPY --from=build /src/bb /
ADD https://raw.githubusercontent.com/golang/go/master/lib/time/zoneinfo.zip /zoneinfo.zip
ENV ZONEINFO /zoneinfo.zip
ENTRYPOINT ["/bb"] ENTRYPOINT ["/bb"]