This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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
|
Reference in New Issue
Block a user