现象
Docker镜像 php:5.6-apache apt-get update报错:
process “/bin/sh -c apt-get update” did not complete successfully: exit code: 100
原因
debian的包地址已归档,需要在Dockerfile里面修改指向到新地址。
解决方法
Dockerfile里面apt-get update之前加上下面的命令。
1 | RUN echo "deb http://archive.debian.org/debian/ stretch main" > /etc/apt/sources.list \ |