From 2bd55e0a98ec49d110e2d1d34c489bdb5042cdf6 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 26 Mar 2024 12:09:03 +0300 Subject: [PATCH] fix timezone setup #133 --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9b5b7ff..eebbdc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -119,7 +119,8 @@ RUN apk add --no-cache \ libstdc++ \ heimdal-libs \ libcap \ - libltdl + libltdl \ + tzdata COPY --from=build /etc/squid/ /etc/squid/ COPY --from=build /usr/lib/squid/ /usr/lib/squid/ @@ -138,11 +139,6 @@ RUN install -d -o squid -g squid \ touch /etc/squid/conf.d/placeholder.conf COPY squid-log.conf /etc/squid/conf.d.tail/ -RUN set -x && \ - apk add --no-cache --virtual .tz alpine-conf tzdata && \ - /sbin/setup-timezone -z $TZ && \ - apk del .tz - VOLUME ["/var/cache/squid"] EXPOSE 3128/tcp