diff options
Diffstat (limited to 'ubuntu/focal')
-rw-r--r-- | ubuntu/focal/Dockerfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ubuntu/focal/Dockerfile b/ubuntu/focal/Dockerfile new file mode 100644 index 0000000..8ef4e1c --- /dev/null +++ b/ubuntu/focal/Dockerfile @@ -0,0 +1,31 @@ +FROM ubuntu:focal +MAINTAINER Christian Pointner <equinox@helsinki.at> + +LABEL at.helsinki.docker.os.distro=ubuntu at.helsinki.docker.os.release=focal + +RUN set -x \ + && echo 'deb http://apt.helsinki.at/ubuntu focal main universe' > /etc/apt/sources.list \ + && echo 'deb http://apt.helsinki.at/ubuntu focal-updates main universe' >> /etc/apt/sources.list \ + && echo 'deb http://apt.helsinki.at/ubuntu focal-security main universe' >>/etc/apt/sources.list \ + && echo 'APT::Install-Recommends "false";' >/etc/apt/apt.conf.d/02-norecommends \ + && apt-get update -q \ + && apt-get install -y -q tzdata locales \ + && apt-get upgrade -y -q \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +COPY common/helsinki_repo.gpg /etc/apt/trusted.gpg.d/helsinki.gpg +RUN set -x \ + && echo 'deb http://build.helsinki.at focal main' >>/etc/apt/sources.list.d/helsinki.list \ + && apt-get update -q \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +ENV TZ="Europe/Vienna" +RUN set -x \ + && echo "de_AT.UTF-8 UTF-8\nen_US.UTF-8 UTF-8" > /etc/locale.gen \ + && locale-gen \ + && ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \ + && echo ${TZ} > /etc/timezone + +COPY common/bin/tini /usr/local/bin/ + +ENTRYPOINT ["tini", "--"] |