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

build workspace faild on 11/219 (apt-get update -yqq) #2312

Closed
Justice112 opened this issue Oct 4, 2019 · 3 comments
Closed

build workspace faild on 11/219 (apt-get update -yqq) #2312

Justice112 opened this issue Oct 4, 2019 · 3 comments

Comments

@Justice112
Copy link

Info:

  • Docker version ($ docker --version): Docker version 18.06.3-ce, build d7080c1
  • Laradock commit ($ git rev-parse HEAD): 861ea6b
  • System info (Mac, PC, Linux): Linux
  • System info disto/version: centos8.1095

Issue:

_____Dont know

Expected behavior:

_____want to build workspace

Reproduce:


Relevant Code:

// place a code sample here

Step 11/219 : RUN set -xe; apt-get update -yqq && pecl channel-update pecl.php.net && groupadd -g ${PGID} laradock && useradd -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 583a1012a185

  • apt-get update -yqq
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'archive.ubuntu.com'
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/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 -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
@bestlong
Copy link
Member

bestlong commented Oct 7, 2019

Maybe cause by firewall.
Ref #2238, #2232

@liminworks
Copy link

its ok?

@namnguyen2091
Copy link

@bestlong im not in china but I can not install

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

No branches or pull requests

4 participants