You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose build php-fpm is slow very much in china
Expected behavior:
docker-compose build php-fpm can be fast
Reproduce:
don't have error.
Relevant Code:
// place a code sample here
.
php-fpm container can change source from debian to china?
php-fpm/debian.sources.list
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
Dockerfile
# If you're in China, or you need to change sources, will be set CHANGE_SOURCE to true in .env.
ADD debian.sources.list /etc/apt/debian.sources.list
ARG CHANGE_SOURCE=false
RUN if [ ${CHANGE_SOURCE} = true ]; then \
mv /etc/apt/sources.list /etc/apt/sources.list.back && \
mv /etc/apt/debian.sources.list /etc/apt/sources.list \
;fi
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Info:
$ docker --version
): Docker version 18.03.0-ce, build 0520e24302$ git rev-parse HEAD
): da8f0d0Issue:
docker-compose build php-fpm
is slow very much in chinaExpected behavior:
docker-compose build php-fpm
can be fastReproduce:
don't have error.
Relevant Code:
php-fpm container can change source from debian to china?
php-fpm/debian.sources.list
Dockerfile
docker-compose.yml
The text was updated successfully, but these errors were encountered: