Fix docker builds for EOL releases

This commit is contained in:
Jan Dittberner 2024-02-10 13:47:12 +01:00
parent d2dfa332d3
commit ac3d8526fa
3 changed files with 14 additions and 5 deletions

View file

@ -1,8 +1,12 @@
FROM debian:stretch
FROM debian/eol:stretch
LABEL maintainer="jan@dittberner.info"
VOLUME /srv
RUN apt-get update \
RUN sed -i \
-e '/stretch-updates/d' \
-e 's@deb\.@archive.@' \
/etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
dumb-init \