-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.rolling
More file actions
32 lines (26 loc) · 1.05 KB
/
Dockerfile.rolling
File metadata and controls
32 lines (26 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM ubuntu:rolling
ENV DEBIAN_FRONTEND=noninteractive \
TZ=Europe/Rome \
OS=ubuntu
ARG BIN_SOURCE=https://github.com/Neomediatech/assets/raw/refs/heads/main/bin
ADD --chmod=777 ${BIN_SOURCE}/tini \
${BIN_SOURCE}/http \
${BIN_SOURCE}/curl \
${BIN_SOURCE}/wget \
/usr/local/bin/
RUN echo $TZ > /etc/timezone && \
rm -f /etc/localtime && \
ln -s /usr/share/zoneinfo/$TZ /etc/localtime && \
apt-get update && apt-get -y dist-upgrade && \
apt-get install --no-install-recommends -y \
tzdata locales ca-certificates inetutils-ping netcat-openbsd && \
rm -rf /var/lib/apt/lists/*
ENV LANG=it_IT.utf8 \
LANGUAGE=it_IT:it \
LC_ALL=it_IT.UTF-8
RUN touch /usr/share/locale/locale.alias && \
localedef -i it_IT -c -f UTF-8 -A /usr/share/locale/locale.alias it_IT.UTF-8 && \
echo "it_IT.UTF-8 UTF-8" > /etc/locale.gen && locale-gen && \
rm -rf /var/lib/apt/lists/* && \
ln -s /usr/local/bin/tini /tini && \
ln -s /usr/local/bin/tini /dockerize