From a1d612abc03cadb902c32cd4b0f1bf9decbe6670 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 6 Sep 2022 00:02:04 -0500 Subject: [PATCH] Add time zone 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"]