18 lines
590 B
Docker
18 lines
590 B
Docker
FROM ubuntu:latest
|
|
|
|
ENV TERM linux
|
|
#ENV TZ=Australia/Sydney
|
|
ENV TZ=Pacific/Auckland
|
|
|
|
RUN apt update && \
|
|
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 |