Fix docker builds for EOL releases
This commit is contained in:
parent
d2dfa332d3
commit
ac3d8526fa
3 changed files with 14 additions and 5 deletions
|
@ -1,13 +1,18 @@
|
|||
FROM debian:jessie
|
||||
FROM debian/eol:jessie
|
||||
LABEL maintainer="jan@dittberner.info"
|
||||
VOLUME /srv
|
||||
|
||||
RUN apt-get update \
|
||||
RUN sed -i \
|
||||
-e 's@\(^deb http://deb\..*\)$@#\1@' \
|
||||
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
|
||||
/etc/apt/sources.list \
|
||||
&& apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
curl \
|
||||
libnss-ldap \
|
||||
lsof \
|
||||
nullmailer \
|
||||
php-apc \
|
||||
php-mail \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue