From c5ee411c81c7df9561895941acea2d20a02d4315 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 30 Apr 2025 09:20:46 +1000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab60ef0..e7e4d0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,15 @@ ENV TERM linux #ENV TZ=Australia/Sydney ENV TZ=Pacific/Auckland -# Set timezone: -RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone - RUN apt update && \ - apt install curl wget git zip tar ca-certificates unzip xz-utils jq -y && \ + apt install curl wget git zip tar ca-certificates unzip xz-utils jq locales -y && \ DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends tzdata && \ apt clean && rm -rf /var/lib/apt/lists/* +# Set timezone: +RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && \ + echo $CONTAINER_TIMEZONE > /etc/timezone && \ + dpkg-reconfigure --frontend noninteractive tzdata + # Generate locale RUN locale-gen en_US.UTF-8 \ No newline at end of file