Skip to content

Php fpm 7.4 lambda docker with gd extension #1171

Answered by onlinesid
onlinesid asked this question in Support
Discussion options

You must be logged in to vote

Solved it, we have to copy few more things:

FROM bref/php-74-fpm

COPY --from=bref/extra-gd-php-74:latest /opt/bref/lib64/libXpm.so.4 /opt/bref/lib64/libXpm.so.4
COPY --from=bref/extra-gd-php-74:latest /opt/bref/lib64/libX11.so.6 /opt/bref/lib64/libX11.so.6
COPY --from=bref/extra-gd-php-74:latest /opt/bref/lib64/libpng15.so.15 /opt/bref/lib64/libpng15.so.15
COPY --from=bref/extra-gd-php-74:latest /opt/bref/lib64/libjpeg.so.* /opt/bref/lib64/
COPY --from=bref/extra-gd-php-74:latest /opt/bref/lib64/libfreetype.so.6 /opt/bref/lib64/libfreetype.so.6
COPY --from=bref/extra-gd-php-74:latest /opt/bref/lib64/libxcb.so.1 /opt/bref/lib64/libxcb.so.1
COPY --from=bref/extra-gd-php-74:latest /opt/bref…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by onlinesid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant