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