From 6b45d61ab265279f38364007136f49ac217a6573 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 3 Oct 2020 00:07:03 +0200 Subject: [PATCH] from image to Debian Buster (10) --- Dockerfile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 873844e..e5c77f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ -# start from debian 9 slim version -FROM debian:stretch-slim - -# enable backport repo -RUN echo deb http://httpredir.debian.org/debian stretch-backports main | tee /etc/apt/sources.list.d/backports.list +# start from debian 10 slim version +FROM debian:buster-slim +# install certbot, supervisor and utilities RUN apt-get update && apt-get install --no-install-recommends -yqq \ gnupg \ apt-transport-https \ @@ -12,7 +10,7 @@ RUN apt-get update && apt-get install --no-install-recommends -yqq \ ca-certificates \ curl \ procps \ - && apt-get install --no-install-recommends -yqq certbot -t stretch-backports \ + && apt-get install --no-install-recommends -yqq certbot \ && apt-get install --no-install-recommends -yqq supervisor \ && apt-get clean autoclean && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/* @@ -20,10 +18,9 @@ RUN apt-get update && apt-get install --no-install-recommends -yqq \ # install haproxy from official debian repos (https://haproxy.debian.net/) RUN curl https://haproxy.debian.net/bernat.debian.org.gpg | apt-key add - -RUN echo deb http://haproxy.debian.net stretch-backports-2.0 main | tee /etc/apt/sources.list.d/haproxy.list - +RUN echo deb http://haproxy.debian.net buster-backports-2.0 main | tee /etc/apt/sources.list.d/haproxy.list RUN apt-get update \ - && apt-get install -yqq haproxy=2.0.\* -t stretch-backports \ + && apt-get install -yqq haproxy=2.0.\* \ && apt-get clean autoclean && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/*