summaryrefslogtreecommitdiff
path: root/ubuntu/bionic/Dockerfile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-07-25 12:53:15 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2018-07-25 12:53:15 (GMT)
commit917250dcca6f9baf46b014512c574921504764f2 (patch)
tree5fc961de8d19aa4def9f7c935e46b9107837b2ae /ubuntu/bionic/Dockerfile
parente290d433a110d2ed2a7f0446b09057ebf0fadf1c (diff)
added os image for ubuntu/bionic
Diffstat (limited to 'ubuntu/bionic/Dockerfile')
-rw-r--r--ubuntu/bionic/Dockerfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/ubuntu/bionic/Dockerfile b/ubuntu/bionic/Dockerfile
new file mode 100644
index 0000000..4f4c027
--- /dev/null
+++ b/ubuntu/bionic/Dockerfile
@@ -0,0 +1,29 @@
+FROM ubuntu:bionic
+MAINTAINER Christian Pointner <equinox@helsinki.at>
+
+LABEL at.helsinki.docker.os.distro=ubuntu at.helsinki.docker.os.release=bionic
+
+RUN set -x \
+ && echo 'deb http://apt.helsinki.at/ubuntu/ bionic main universe' > /etc/apt/sources.list \
+ && echo 'deb http://apt.helsinki.at/ubuntu/ bionic-updates main universe' >> /etc/apt/sources.list \
+ && echo 'deb http://apt.helsinki.at/ubuntu-security/ bionic-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 gnupg2 \
+ && apt-get upgrade -y -q \
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+
+COPY common/helsinki_repo.pub /tmp
+RUN set -x \
+ && echo 'deb http://build.helsinki.at/ bionic main' >>/etc/apt/sources.list.d/helsinki.list \
+ && apt-key add /tmp/helsinki_repo.pub \
+ && apt-get update -q \
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+
+RUN set -x \
+ && echo "Europe/Vienna" > /etc/timezone \
+ && dpkg-reconfigure -f noninteractive tzdata
+
+COPY common/bin/tini /usr/local/bin/
+
+ENTRYPOINT ["tini", "--"]