add ctype PHP extension

this will become required with the next PrivateBin release (> 1.7.1), where we replaced some of the regex based validation with ctype function calls
This commit is contained in:
El RIDO 2024-04-01 14:27:29 +02:00
parent 8c5df7cfdb
commit e10c62ec57
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -35,8 +35,8 @@ RUN \
fi \ fi \
# Install dependencies # Install dependencies
&& apk upgrade --no-cache \ && apk upgrade --no-cache \
&& apk add --no-cache gnupg git nginx php83 php83-fpm php83-gd php83-opcache \ && apk add --no-cache gnupg git nginx php83 php83-ctype php83-fpm php83-gd \
s6 tzdata ${ALPINE_PACKAGES} ${ALPINE_COMPOSER_PACKAGES} \ php83-opcache s6 tzdata ${ALPINE_PACKAGES} ${ALPINE_COMPOSER_PACKAGES} \
# Stabilize php config location # Stabilize php config location
&& mv /etc/php83 /etc/php \ && mv /etc/php83 /etc/php \
&& ln -s /etc/php /etc/php83 \ && ln -s /etc/php /etc/php83 \