update by mkumatag's comment,image can work without any of these crazy patches

This commit is contained in:
liudali 2019-05-13 23:16:17 +08:00
parent 42b4fb9aa6
commit 3b9fa502ea
2 changed files with 0 additions and 19 deletions

View File

@ -14,10 +14,6 @@
FROM php:5-apache
COPY fixup-apt-list.sh /
RUN ["/fixup-apt-list.sh"]
RUN apt-get update
RUN pear channel-discover pear.nrk.io
RUN pear install nrk/Predis

View File

@ -1,15 +0,0 @@
#!/usr/bin/env bash
DEB_ARCH=$(dpkg --print-architecture)
# http://security.debian.org/debian-security/dists/jessie/updates/InRelease is missing
# entries for some platforms, so we just remove the last line in sources.list in
# /etc/apt/sources.list which is "deb http://deb.debian.org/debian jessie-updates main"
case ${DEB_ARCH} in
arm64|ppc64el|s390x)
sed -i '/security/d' /etc/apt/sources.list
;;
esac
exit 0