Update Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-04-30 09:20:46 +10:00
parent 87e83beb7b
commit c5ee411c81

View File

@@ -4,13 +4,15 @@ ENV TERM linux
#ENV TZ=Australia/Sydney #ENV TZ=Australia/Sydney
ENV TZ=Pacific/Auckland ENV TZ=Pacific/Auckland
# Set timezone:
RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone
RUN apt update && \ 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 && \ DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends tzdata && \
apt clean && rm -rf /var/lib/apt/lists/* 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 # Generate locale
RUN locale-gen en_US.UTF-8 RUN locale-gen en_US.UTF-8