From 17277ef3f4ad6f43b0a32af73b3ab5e448248a89 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 11 Dec 2019 17:19:33 +0100 Subject: added buster image and cleanup repo handling diff --git a/build-os-images.sh b/build-os-images.sh index a148081..cc5d4e1 100755 --- a/build-os-images.sh +++ b/build-os-images.sh @@ -34,7 +34,7 @@ function run_build { } ## debian -for codename in stretch; do +for codename in stretch buster; do run_build "debian:$codename" "debian/$codename" done diff --git a/common/bin/tini b/common/bin/tini index 03af82f..8947338 100755 Binary files a/common/bin/tini and b/common/bin/tini differ diff --git a/common/helsinki_repo.gpg b/common/helsinki_repo.gpg new file mode 100644 index 0000000..204715b Binary files /dev/null and b/common/helsinki_repo.gpg differ diff --git a/common/helsinki_repo.pub b/common/helsinki_repo.pub deleted file mode 100644 index 5952c40..0000000 --- a/common/helsinki_repo.pub +++ /dev/null @@ -1,51 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBFgbUVYBEADGWCGlkj9pzTjcNVGsYws098RWOGP7ZE2ttKWoAgcvY5Jh/fsw -he7YcJg+scOnYPGl3xGcCHLWbL3bIbrNvK0WRlFvWdG0zOFIhD0W/Yn+KdwbOJe9 -d0Y18+ZwOuexs+/TOFxD51U2hyqacAfpIVzlWVUry0Y+is3plp6bR4IFNr5ksiwd -kZw2pVvFVlRqeaBHHW5qVVYdF2WWgeR/Bboea0a+GRhIsYpre/k6GFJNo7SIR3V9 -jGUux78O8/zfP6liiGZex1077UqPxy2HJwbR2vqUmASqZ5KbaVy07HwzgT++ZaqL -lioGqJPM/V6QBXm0eouvNVrBjO3pXTkRk7Lms8IW64I1+DwLvb/YekZwSmBKcqK8 -SqCxmdQX6+u32tHn0ue8EFaTvMbOF5iEiqu3WjF0g3s1xiVTDhgmDdMk+V8S5wn3 -o5nts62h1kuov59IFiwzsqvqiJd8vIxOaJlCdl55Il0o1tvM7CSttIoG73+Yuf8t -qk/fhrxhRQBCfX8Ds3k8/6YcLXrGdw0K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pYHJJU/q8wDHwCxLH+zWI8NX -DfpAKc2IQhuhfkmEJxgQX1rEfwGk9sdofW0++ngUfp8GFTpXOIWqcjL8OYeRcb3v -nKtYj5p98xikin54034SEwCyyG/tbCQU4LGbLSeTUC3P1hLJCRe1mhAF+zYwXkLq -v7Z6ml4/HRMXcfJpHis9KEaWNv1Oa5B5MHNPVqNW4yAzdSGkX1mMOxBLX6g6Mo4w -igjaWa7BUsaktSQqCUDNlI2nUB0ODxcoCeTUlOD1WAUMe2jY3huLt3uVOD82QN90 -u9vVOq/VZDZaU58M7BnA2LM4Yls= -=rM3X ------END PGP PUBLIC KEY BLOCK----- diff --git a/debian/buster/Dockerfile b/debian/buster/Dockerfile new file mode 100644 index 0000000..31c6aa9 --- /dev/null +++ b/debian/buster/Dockerfile @@ -0,0 +1,31 @@ +FROM debian:buster +MAINTAINER Christian Pointner + +LABEL at.helsinki.docker.os.distro=debian at.helsinki.docker.os.release=buster + +RUN set -x \ + && echo 'deb http://apt.helsinki.at/debian buster main' > /etc/apt/sources.list \ + && echo 'deb http://apt.helsinki.at/debian buster-updates main' >> /etc/apt/sources.list \ + && echo 'deb http://apt.helsinki.at/security buster/updates main' >>/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 buster 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", "--"] diff --git a/debian/stretch/Dockerfile b/debian/stretch/Dockerfile index 42ceca5..96640ee 100644 --- a/debian/stretch/Dockerfile +++ b/debian/stretch/Dockerfile @@ -4,19 +4,18 @@ MAINTAINER Christian Pointner LABEL at.helsinki.docker.os.distro=debian at.helsinki.docker.os.release=stretch RUN set -x \ - && echo 'deb http://apt.helsinki.at/debian/ stretch main' > /etc/apt/sources.list \ - && echo 'deb http://apt.helsinki.at/debian/ stretch-updates main' >> /etc/apt/sources.list \ - && echo 'deb http://apt.helsinki.at/debian-security/ stretch/updates main' >>/etc/apt/sources.list \ + && echo 'deb http://apt.helsinki.at/debian stretch main' > /etc/apt/sources.list \ + && echo 'deb http://apt.helsinki.at/debian stretch-updates main' >> /etc/apt/sources.list \ + && echo 'deb http://apt.helsinki.at/security stretch/updates main' >>/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 locales \ + && 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.pub /tmp +COPY common/helsinki_repo.gpg /etc/apt/trusted.gpg.d/helsinki.gpg RUN set -x \ - && echo 'deb http://build.helsinki.at/ stretch main' >>/etc/apt/sources.list.d/helsinki.list \ - && apt-key add /tmp/helsinki_repo.pub \ + && echo 'deb http://build.helsinki.at stretch main' >>/etc/apt/sources.list.d/helsinki.list \ && apt-get update -q \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* diff --git a/ubuntu/bionic/Dockerfile b/ubuntu/bionic/Dockerfile index d5f8591..2877310 100644 --- a/ubuntu/bionic/Dockerfile +++ b/ubuntu/bionic/Dockerfile @@ -4,19 +4,18 @@ MAINTAINER Christian Pointner 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 '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 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 locales \ + && 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.pub /tmp +COPY common/helsinki_repo.gpg /etc/apt/trusted.gpg.d/helsinki.gpg 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 \ + && echo 'deb http://build.helsinki.at bionic main' >>/etc/apt/sources.list.d/helsinki.list \ && apt-get update -q \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -- cgit v0.10.2