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

This commit is contained in:
yohan-b 2024-02-24 16:48:16 +01:00 committed by GitHub
parent 7894d2602f
commit 8c0dc1f517
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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