Skip to content

Error when building docker image with extensions #383

Answered by jaydrogers
nsaliu asked this question in Q&A
Discussion options

You must be logged in to vote

Update: It's a deeper issue

The image serversideup/php:8.3.6-fpm-nginx was built with a version older than v3.2.0.

Workaround

Use serversideup/php:8.3.8-fpm-nginx or update the NGINX key manually in your Dockerfile:

ARG SIGNING_KEY_URL="https://nginx.org/keys/nginx_signing.key"
ARG SIGNING_FINGERPRINT="573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62"
ARG SIGNING_KEY_OUTPUT_FILE="/usr/share/keyrings/nginx-archive-keyring.gpg"
# copy our scripts
COPY --chmod=755 src/common/ /
RUN docker-php-serversideup-dep-install-debian "curl gnupg2 ca-certificates lsb-release debian-archive-ke…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jaydrogers
Comment options

Answer selected by jaydrogers
@nsaliu
Comment options

@nsaliu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants