Closed YaroslavBemov closed 3 years ago
It seems like a network error. Could you please try to check your connection?
ping dl-cdn.alpinelinux.org
PING dualstack.d.sni.global.fastly.net (151.101.14.133) 56(84) bytes of data.
64 bytes from 151.101.14.133 (151.101.14.133): icmp_seq=1 ttl=56 time=37.9 ms
64 bytes from 151.101.14.133 (151.101.14.133): icmp_seq=2 ttl=56 time=37.8 ms
64 bytes from 151.101.14.133 (151.101.14.133): icmp_seq=3 ttl=56 time=37.7 ms
64 bytes from 151.101.14.133 (151.101.14.133): icmp_seq=4 ttl=56 time=37.9 ms
64 bytes from 151.101.14.133 (151.101.14.133): icmp_seq=5 ttl=56 time=37.8 ms
64 bytes from 151.101.14.133 (151.101.14.133): icmp_seq=6 ttl=56 time=37.6 ms
^C
--- dualstack.d.sni.global.fastly.net ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 37.570/37.769/37.896/0.106 ms
Was tested by me right now:
$ docker build --rm .
Sending build context to Docker daemon 592.9kB
Step 1/12 : FROM --platform=linux/amd64 php:8.0.9-alpine as runtime
---> d75050b53d70
Step 2/12 : COPY --from=composer:2.1.5 /usr/bin/composer /usr/bin/composer
---> Using cache
---> 30677683883a
Step 3/12 : COPY --from=spiralscout/roadrunner:2.3.3 /usr/bin/rr /usr/bin/rr
---> Using cache
---> 3ff453727442
Step 4/12 : ENV COMPOSER_HOME="/tmp/composer"
---> Using cache
---> 6b8342727b05
...
configure.ac:161: the top level
mkdir: can't create directory 'collator/.libs': File exists
mkdir: can't create directory '.libs': File exists
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: No such file or directory
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: No such file or directory
+ pecl install -o redis
+ echo 'extension=redis.so'
+ wget -q https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-amd64 -O /usr/bin/supercronic
+ chmod +x /usr/bin/supercronic
+ mkdir /etc/supercronic
+ echo '*/1 * * * * php /app/artisan schedule:run'
+ openssl req -x509 -nodes -days 1095 -newkey rsa:2048 -subj '/C=CA/ST=QC/O=Company, Inc./CN=mydomain.com' -addext 'subjectAltName=DNS:mydomain.com' -keyout /etc/ssl/private/selfsigned.key -out /etc/ssl/certs/selfsigned.crt
Generating a RSA private key
...
Step 12/12 : ENTRYPOINT []
---> Running in b3fa8a47aa6d
Removing intermediate container b3fa8a47aa6d
---> f0c86cf98997
Successfully built f0c86cf98997
Maybe network problems on the pecl repositories side?
I tried yesterday and today. I'll try again tomorrow.
The latest GitHub actions build was successful too: https://github.com/tarampampam/laravel-roadrunner-in-docker/runs/3308856714?check_suite_focus=true#step:3:810
Everything is the same today.
Everything worked on windows. The problem is in my Ubuntu, but I don't know where exactly.
~/projects/experiments/laravel-roadrunner-in-docker master make install
...
Docker version 20.10.8, build 3967b7d docker-compose version 1.29.2, build 5becea4c Ubuntu 20.04.2 LTS