-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unable to manually compile Docker images #2074
Comments
Same result here, with a setup that worked well before updating. Edit: Tried building with |
The error message you encountered during the Docker build process indicates that there is an issue with the package repositories and GPG keys in your Docker image. Specifically, it mentions missing GPG keys for the Debian bookworm repositories. |
Your error is not reproducible. You are either using an outdated base image (use |
Build works on a different system... Thanks for the help! |
https://github.com/nextcloud/docker/blob/fef9785e235f1ff05f9a4c2eb81b5f46155ef917/.examples/dockerfiles/full/apache/Dockerfile#L5C3-L5C3
When I compiled using the template DOCKERFILE, the following error occurred:
Sending build context to Docker daemon 37.89kB
Step 1/14 : FROM php:8.2-apache-bookworm
---> 2d1146630e0c
Step 2/14 : RUN set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-6.q16-6-extra rsync ; rm -rf /var/lib/apt/lists/; mkdir -p /var/spool/cron/crontabs; echo '/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
---> Running in cc6fd71bd0a5
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Err:1 http://deb.debian.org/debian bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Err:2 http://deb.debian.org/debian bookworm-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
Reading package lists...
W: GPG error: http://deb.debian.org/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54404762BBB6E853 NO_PUBKEY BDE6D2B9216EC7A8
E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/.deb /var/cache/apt/archives/partial/.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
The command '/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-6.q16-6-extra rsync ; rm -rf /var/lib/apt/lists/; mkdir -p /var/spool/cron/crontabs; echo '/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data' returned a non-zero code: 100
The text was updated successfully, but these errors were encountered: