From 8c0dc1f51776c1213922d2ea48dde221a9e6695f Mon Sep 17 00:00:00 2001 From: yohan-b Date: Sat, 24 Feb 2024 16:48:16 +0100 Subject: [PATCH] Downgrade Debian version to old stable (11 Bullseye). Debian 12 does not work with Centos 8 (libseccomp too old). --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index effeae9..dea5b2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM debian:bookworm +FROM debian:bullseye MAINTAINER yohan <783b8c87@scimetis.net> ENV DEBIAN_FRONTEND noninteractive ENV TZ=Europe/Paris RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone -RUN echo "deb http://ftp.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list -RUN apt-get update && apt-get -y install apache2 && apt-get -y install python3-certbot-apache -t bookworm-backports +RUN echo "deb http://ftp.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list +RUN apt-get update && apt-get -y install apache2 && apt-get -y install python3-certbot-apache -t bullseye-backports RUN a2enmod ssl proxy proxy_http rewrite headers proxy_wstunnel EXPOSE 80 EXPOSE 443