From e538c1d9e7a2d7493a44dcac4da9125289eee976 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 11 Apr 2021 14:22:15 -0500 Subject: [PATCH] add tz info and certs to the image --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8aa9843..969e4de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,9 +21,19 @@ RUN \ FROM alpine:3.13 +ENV \ + TERM=xterm-color \ + TIME_ZONE=America/Chicago + +RUN \ + apk add --no-cache --update tzdata curl ca-certificates && \ + cp /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime && \ + echo "${TIME_ZONE}" > /etc/timezone && date && \ + rm -rf /var/cache/apk/* + COPY --from=backend /build/reproxy /srv/reproxy RUN chmod +x /srv/reproxy LABEL reproxy.enabled="false" WORKDIR /srv -CMD ["/srv/reproxy"] +ENTRYPOINT ["/srv/reproxy"]