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

DNS lookup error while building php-worker #2980

Closed
hfuccillo opened this issue May 30, 2021 · 2 comments
Closed

DNS lookup error while building php-worker #2980

hfuccillo opened this issue May 30, 2021 · 2 comments

Comments

@hfuccillo
Copy link

Description:

I'm constantly getting DNS Lookup error while trying to build the image.
Fetching data from: https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz

Expected Behavior:

Expecting to build the image correctly

Context information:

Output of git rev-parse HEAD

89ad4c805445d47f0a1a635784b105a0252998bc

Output of docker version

Client: Docker Engine - Community
 Version:           19.03.14
 API version:       1.40
 Go version:        go1.15.5
 Git commit:        5eb3275
 Built:             Tue Dec  1 22:50:25 2020
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:49:35 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Output of docker-compose version

docker-compose version 1.27.4, build unknown
docker-py version: 4.3.1
CPython version: 3.9.0
OpenSSL version: OpenSSL 1.1.1i  8 Dec 2020

System info: Mac, Windows or Linux. Include which disto/version

MacOS Big Sur

Steps to reproduce the issue:

  1. running docker-compose build php-worker

Stacktrace & Additional info:

Building php-worker
Step 1/73 : ARG LARADOCK_PHP_VERSION
Step 2/73 : FROM php:${LARADOCK_PHP_VERSION}-alpine
 ---> 31a7bbc335d7
Step 3/73 : LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
 ---> Using cache
 ---> b324bc6eeed7
Step 4/73 : ARG LARADOCK_PHP_VERSION
 ---> Using cache
 ---> 5c1782fb1391
Step 5/73 : ARG CHANGE_SOURCE=false
 ---> Using cache
 ---> cb1adb8af444
Step 6/73 : RUN if [ ${CHANGE_SOURCE} = true ]; then     sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories ;fi
 ---> Using cache
 ---> c41b9c1d76dd
Step 7/73 : RUN apk --update add wget   curl   git   build-base   libmemcached-dev   libmcrypt-dev   libxml2-dev   pcre-dev   zlib-dev   autoconf   cyrus-sasl-dev   libgsasl-dev   oniguruma-dev   libressl   libressl-dev   supervisor
 ---> Running in 3a264c8fa491
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/main: DNS lookup error
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: No such file or directory
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/community: DNS lookup error
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: No such file or directory
ERROR: unable to select packages:
  autoconf (no such package):
    required by: world[autoconf]
  build-base (no such package):
    required by: world[build-base]
  cyrus-sasl-dev (no such package):
    required by: world[cyrus-sasl-dev]
  git (no such package):
    required by: world[git]
  libgsasl-dev (no such package):
    required by: world[libgsasl-dev]
  libmcrypt-dev (no such package):
    required by: world[libmcrypt-dev]
  libmemcached-dev (no such package):
    required by: world[libmemcached-dev]
  libressl (no such package):
    required by: world[libressl]
  libressl-dev (no such package):
    required by: world[libressl-dev]
  libxml2-dev (no such package):
    required by: world[libxml2-dev]
  oniguruma-dev (no such package):
    required by: world[oniguruma-dev]
  pcre-dev (no such package):
    required by: world[pcre-dev]
  supervisor (no such package):
    required by: world[supervisor]
  wget (no such package):
    required by: world[wget]
  zlib-dev (no such package):
    required by: world[zlib-dev]
ERROR: Service 'php-worker' failed to build : The command '/bin/sh -c apk --update add wget   curl   git   build-base   libmemcached-dev   libmcrypt-dev   libxml2-dev   pcre-dev   zlib-dev   autoconf   cyrus-sasl-dev   libgsasl-dev   oniguruma-dev   libressl   libressl-dev   supervisor' returned a non-zero code: 15
@stale
Copy link

stale bot commented Aug 28, 2021

Hi 👋 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 ❤️.

@stale stale bot added the Stale label Aug 28, 2021
@stale
Copy link

stale bot commented Sep 19, 2021

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 🎈.

@stale stale bot closed this as completed Sep 19, 2021
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

1 participant