switch from docker-php scripts to apk add
Some checks failed
ci/woodpecker/push/build_dev Pipeline failed

This commit is contained in:
Ruben Momoa
2024-08-23 15:14:02 +02:00
parent f908ab0ddc
commit fa92353bee

View File

@@ -7,8 +7,25 @@ ENV WEBSERVER_PORT=8080
COPY start-container.sh /usr/local/bin/start-container
RUN apk add --no-cache curl-dev libxml2-dev oniguruma-dev composer npm \
&& docker-php-ext-install ctype curl dom fileinfo filter mbstring pdo session xml \
RUN apk add --no-cache \
curl-dev \
libxml2-dev \
oniguruma-dev \
libpng-dev \
icu-dev \
php-ctype \
php-curl \
php-dom \
php-fileinfo \
php-filter \
php-mbstring \
php-session \
php-xml \
php-intl \
php-bcmath \
php-pdo_mysql \
composer \
npm \
&& chmod +x /usr/local/bin/start-container
EXPOSE ${WEBSERVER_PORT}