From 6de36ffb952f1d0fa71c958e019d5d470e3bb4e4 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Mon, 5 Sep 2022 23:48:44 -0500 Subject: [PATCH] Add timezone database to container --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 869b1ee..be911e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,6 @@ RUN CGO_ENABLED=0 go build ./cmd/bb FROM scratch AS bin COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ 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"]