Skip to content

Build error on Debian trixie, php 7.4.13 #10

@iconben

Description

@iconben

Docker build:

docker build --build-arg DEBIAN_VERSION=trixie --build-arg PHP_VERSION=8.4.13 -t augwit/wordpress:8.4.13

Got error, the logs:

 => ERROR [ 7/22] RUN set -eux;     apt-get update;     apt-get install -y --no-install-recommends certbot python3-certbo  3.5s
------
 > [ 7/22] RUN set -eux;     apt-get update;     apt-get install -y --no-install-recommends certbot python3-certbot-nginx cron:
0.152 + apt-get update
0.186 Get:1 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB]
0.196 Get:2 http://deb.debian.org/debian trixie InRelease [140 kB]
0.223 Get:3 http://security.debian.org/debian-security trixie-security/main Sources [54.3 kB]
0.241 Get:4 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
0.250 Get:5 http://security.debian.org/debian-security trixie-security/main arm64 Packages [48.4 kB]
0.253 Get:6 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
0.277 Get:7 http://deb.debian.org/debian trixie/main arm64 Packages [9605 kB]
0.844 Get:8 http://nginx.org/packages/debian trixie InRelease [3276 B]
0.851 Err:8 http://nginx.org/packages/debian trixie InRelease
0.851   Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 8540A6F18833A80E9C1653A42FD21310B49F6B46, which is needed to verify signature.
2.679 Get:9 http://deb.debian.org/debian trixie-updates/main arm64 Packages [5404 B]
2.688 Get:10 http://deb.debian.org/debian-security trixie-security/main arm64 Packages [48.4 kB]
3.206 Reading package lists...
3.429 W: OpenPGP signature verification failed: http://nginx.org/packages/debian trixie InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 8540A6F18833A80E9C1653A42FD21310B49F6B46, which is needed to verify signature.
3.429 E: The repository 'http://nginx.org/packages/debian trixie InRelease' is not signed.
------

 1 warning found (use docker --debug to expand):
 - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "WP_DB_PASSWORD") (line 13)
Dockerfile:136
--------------------
 135 |     # Install Certbot using the package manager
 136 | >>> RUN set -eux; \
 137 | >>>     apt-get update; \
 138 | >>>     apt-get install -y --no-install-recommends certbot python3-certbot-nginx cron
 139 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c set -eux;     apt-get update;     apt-get install -y --no-install-recommends certbot python3-certbot-nginx cron" did not complete successfully: exit code: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions