From d7da3a01582ef8a42d729be86577c54a880d9b60 Mon Sep 17 00:00:00 2001 From: jxnkwlp Date: Wed, 7 Feb 2024 20:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fixed=20Dockerfile=20tzdata=20in?= =?UTF-8?q?stall=20failed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 86faa85..10759af 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,13 +1,14 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 EXPOSE 8080 +ENV TZ=Etc/UTC # WORKDIR /app ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false -RUN apk add --no-cache icu-libs icu-data-full krb5-libs libgcc libintl libssl1.1 libstdc++ zlib tzdata +RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata # COPY app /app