Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in step 16/299 when update -yqq #2946

Closed
htaufik opened this issue Apr 12, 2021 · 4 comments
Closed

Problem in step 16/299 when update -yqq #2946

htaufik opened this issue Apr 12, 2021 · 4 comments

Comments

@htaufik
Copy link

htaufik commented Apr 12, 2021

Hello, I have a problem when compose laradock..
when i do
docker-compose up -d nginx mysql phpmyadmin
i'm getting some error when reach step 16

Building workspace
Step 1/299 : ARG LARADOCK_PHP_VERSION
Step 2/299 : ARG BASE_IMAGE_TAG_PREFIX=latest
Step 3/299 : FROM laradock/workspace:${BASE_IMAGE_TAG_PREFIX}-${LARADOCK_PHP_VERSION}
 ---> 4e695f4b1772
Step 4/299 : LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
 ---> Using cache
 ---> 22c1d41f4879
Step 5/299 : ARG LARADOCK_PHP_VERSION
 ---> Using cache
 ---> b8544c0ac235
Step 6/299 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> e6c9d7754733
Step 7/299 : USER root
 ---> Using cache
 ---> 4b9b634f1e41
Step 8/299 : ARG CHANGE_SOURCE=false
 ---> Using cache
 ---> 09103a9453e3
Step 9/299 : ARG UBUNTU_SOURCE=aliyun
 ---> Using cache
 ---> 901271180253
Step 10/299 : COPY ./sources.sh /tmp/sources.sh
 ---> Using cache
 ---> be48e3f3b3c1
Step 11/299 : RUN if [ ${CHANGE_SOURCE} = true ]; then     sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list;     sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list;     sed -i 's/security-cdn.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list;     chmod +x /tmp/sources.sh;     /bin/sh -c /tmp/sources.sh;   fi;   rm -rf /tmp/sources.sh
 ---> Using cache
 ---> 531a823fe9ea
Step 12/299 : ARG PUID=1000
 ---> Using cache
 ---> 9808d50e949b
Step 13/299 : ENV PUID ${PUID}
 ---> Using cache
 ---> e5c6769c5cb6
Step 14/299 : ARG PGID=1000
 ---> Using cache
 ---> 8da888ef616c
Step 15/299 : ENV PGID ${PGID}
 ---> Using cache
 ---> 2d25e67467ec
Step 16/299 : RUN set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     groupadd -g ${PGID} laradock &&     useradd -l -u ${PUID} -g laradock -m laradock -G docker_env &&     usermod -p "*" laradock -s /bin/bash &&     apt-get install -yqq       apt-utils       libzip-dev zip unzip       php${LARADOCK_PHP_VERSION}-zip       nasm &&       php -m | grep -q 'zip'
 ---> Running in d0d860e9328b
+ apt-get update -yqq
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/bionic/InRelease  Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ pecl channel-update pecl.php.net
Updating channel "pecl.php.net"
Channel "pecl.php.net" is not responding over http://, failed with message: Connection to `pecl.php.net:80' failed: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
Trying channel "pecl.php.net" over https:// instead
Cannot retrieve channel.xml for channel "pecl.php.net" (Connection to `ssl://pecl.php.net:443' failed: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution)
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     groupadd -g ${PGID} laradock &&     useradd -l -u ${PUID} -g laradock -m laradock -G docker_env &&     usermod -p "*" laradock -s /bin/bash &&     apt-get install -yqq       apt-utils       libzip-dev zip unzip       php${LARADOCK_PHP_VERSION}-zip       nasm &&       php -m | grep -q 'zip'' returned a non-zero code: 1

Any idea how to fix that? By the way i'm using ubuntu 18.04 without GUI

@bestlong
Copy link
Member

some time is update source network problem.

@htaufik
Copy link
Author

htaufik commented Apr 14, 2021

So, do you know how to fix it , if it's caused by network problem?

@bestlong
Copy link
Member

wait for some time, then try again.

@htaufik htaufik closed this as completed Apr 16, 2021
@htaufik
Copy link
Author

htaufik commented Apr 16, 2021

Thanks, it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants