Merge pull request #275 from infosiftr/trixie

Update to Debian Trixie
This commit is contained in:
yosifkit 2025-08-11 16:35:28 -07:00 committed by GitHub
commit 75c46cc5a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 8 deletions

View File

@ -1,4 +1,4 @@
FROM debian:bookworm-slim FROM debian:trixie-slim
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
#RUN groupadd -r www-data && useradd -r --create-home -g www-data www-data #RUN groupadd -r www-data && useradd -r --create-home -g www-data www-data
@ -12,15 +12,14 @@ WORKDIR $HTTPD_PREFIX
# install httpd runtime dependencies # install httpd runtime dependencies
# https://httpd.apache.org/docs/2.4/install.html#requirements # https://httpd.apache.org/docs/2.4/install.html#requirements
RUN set -eux; \ RUN set -eux; \
apt-get update; \ apt-get install --update -y --no-install-recommends \
apt-get install -y --no-install-recommends \
# https://github.com/docker-library/httpd/issues/214 # https://github.com/docker-library/httpd/issues/214
ca-certificates \ ca-certificates \
libaprutil1-ldap \ libaprutil1-ldap \
# https://github.com/docker-library/httpd/issues/209 # https://github.com/docker-library/httpd/issues/209
libldap-common \ libldap-common \
; \ ; \
rm -rf /var/lib/apt/lists/* apt-get dist-clean
ENV HTTPD_VERSION 2.4.65 ENV HTTPD_VERSION 2.4.65
ENV HTTPD_SHA256 58b8be97d9940ec17f7656c0c6b9f41b618aac468b894b534148e3296c53b8b3 ENV HTTPD_SHA256 58b8be97d9940ec17f7656c0c6b9f41b618aac468b894b534148e3296c53b8b3
@ -34,8 +33,7 @@ RUN set -eux; \
# mod_http2 mod_lua mod_proxy_html mod_xml2enc # mod_http2 mod_lua mod_proxy_html mod_xml2enc
# https://anonscm.debian.org/cgit/pkg-apache/apache2.git/tree/debian/control?id=adb6f181257af28ee67af15fc49d2699a0080d4c # https://anonscm.debian.org/cgit/pkg-apache/apache2.git/tree/debian/control?id=adb6f181257af28ee67af15fc49d2699a0080d4c
savedAptMark="$(apt-mark showmanual)"; \ savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \ apt-get install --update -y --no-install-recommends \
apt-get install -y --no-install-recommends \
bzip2 \ bzip2 \
dpkg-dev \ dpkg-dev \
gcc \ gcc \
@ -47,7 +45,7 @@ RUN set -eux; \
libjansson-dev \ libjansson-dev \
liblua5.2-dev \ liblua5.2-dev \
libnghttp2-dev \ libnghttp2-dev \
libpcre3-dev \ libpcre2-dev \
libssl-dev \ libssl-dev \
libxml2-dev \ libxml2-dev \
make \ make \
@ -55,7 +53,6 @@ RUN set -eux; \
wget \ wget \
zlib1g-dev \ zlib1g-dev \
; \ ; \
rm -r /var/lib/apt/lists/*; \
\ \
ddist() { \ ddist() { \
local f="$1"; shift; \ local f="$1"; shift; \
@ -223,6 +220,7 @@ RUN set -eux; \
| xargs -r apt-mark manual \ | xargs -r apt-mark manual \
; \ ; \
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
apt-get dist-clean; \
\ \
# smoke test # smoke test
httpd -v httpd -v