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

> ERROR [workspace 3/115] RUN set -xe; apt-get update -yqq && pecl channel-update pecl.php.net && 1.9s #3423

Open
sanyuanya opened this issue Jul 31, 2023 · 2 comments

Comments

@sanyuanya
Copy link

Description:

docker compose up -d nginx mysql
[+] Building 7.6s (8/120)
=> [workspace internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 73.41kB 0.0s
=> [workspace internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [workspace internal] load metadata for docker.io/laradock/workspace:latest-8.2 5.4s
=> [workspace auth] laradock/workspace:pull token for registry-1.docker.io 0.0s
=> [workspace internal] load build context 0.0s
=> => transferring context: 447B 0.0s
=> [workspace 1/115] FROM docker.io/laradock/workspace:latest-8.2@sha256:0ade667f0c02076e5799250139242617670da 0.0s
=> CACHED [workspace 2/115] RUN if [ false = true ]; then sed -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua 0.0s
=> ERROR [workspace 3/115] RUN set -xe; apt-get update -yqq && pecl channel-update pecl.php.net && 1.9s

[workspace 3/115] RUN set -xe; apt-get update -yqq && pecl channel-update pecl.php.net && groupadd -g 1000 laradock && useradd -l -u 1000 -g laradock -m laradock -G docker_env && usermod -p "*" laradock -s /bin/bash && apt-get install -yqq apt-utils libzip-dev zip unzip php8.2-zip nasm && php -m | grep -q 'zip':
0.500 + apt-get update -yqq
1.896 E: The repository 'http://archive.ubuntu.com/ubuntu focal Release' no longer has a Release file.
1.896 E: The repository 'http://security.ubuntu.com/ubuntu focal-security Release' no longer has a Release file.
1.896 E: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu focal Release' no longer has a Release file.
1.896 E: The repository 'http://archive.ubuntu.com/ubuntu focal-updates Release' no longer has a Release file.
1.896 E: The repository 'http://archive.ubuntu.com/ubuntu focal-backports Release' no longer has a Release file.


failed to solve: process "/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'" did not complete successfully: exit code: 100

@xicond
Copy link

xicond commented Aug 4, 2023

same as #3404
I have same error, which cause by the workspace base image not updated
I run something like

# change LARADOCK_PHP_VERSION with your version
docker pull laradock/workspace:latest-${LARADOCK_PHP_VERSION}

@bestlong
Copy link
Member

try docker compose --no-cache --pull build workspace

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

3 participants