Revert "Downgrade Debian version to old stable (11 Bullseye). Debian 12 does not work with Centos 8 (libseccomp too old)."

This reverts commit 8c0dc1f517.
This commit is contained in:
yohan 2024-11-04 21:12:22 +01:00
parent 8c0dc1f517
commit a4ae702bd9

View File

@ -1,10 +1,10 @@
FROM debian:bullseye
FROM debian:bookworm
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 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 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 a2enmod ssl proxy proxy_http rewrite headers proxy_wstunnel
EXPOSE 80
EXPOSE 443