docker-nginx-fpm-alpine icon indicating copy to clipboard operation
docker-nginx-fpm-alpine copied to clipboard

Feature request: enable php8-curl

Open jmozd opened this issue 3 years ago • 0 comments

Trying to integrate a back-end mechanism to shorten URLs (i.e. YOURLS, see https://github.com/PrivateBin/PrivateBin/issues/725#issuecomment-808764580), it appears that the php8-curl extension is missing from this image.

It appears that a small change might be all that's needed in the Dockerfile:

@@ -26,7 +26,7 @@ RUN \
     fi \
 # Install dependencies
     && apk upgrade --no-cache \
-    && apk add --no-cache gnupg git nginx php8-fpm php8-json php8-gd php8-opcache \
+    && apk add --no-cache gnupg git nginx php8-fpm php8-json php8-gd php8-opcache php8-curl \
         s6 tzdata ${ALPINE_PACKAGES} ${ALPINE_COMPOSER_PACKAGES} \
 # Remove (some of the) default nginx config
     && rm -f /etc/nginx.conf /etc/nginx/http.d/default.conf /etc/php8/php-fpm.d/www.conf \

jmozd avatar Oct 22 '22 20:10 jmozd