update by mkumatag's comment,image can work without any of these crazy patches
This commit is contained in:
parent
42b4fb9aa6
commit
3b9fa502ea
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue