add tz info and certs to the image

This commit is contained in:
Umputun
2021-04-11 14:22:15 -05:00
parent 46d83f235e
commit e538c1d9e7

View File

@@ -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"]