Skip to content

Commit

Permalink
feat: more extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Dec 8, 2023
1 parent 73668c6 commit c227f68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,20 @@ RUN apk add --no-cache \
php${PHP}-pdo_mysql \
php${PHP}-phar \
php${PHP}-posix \
php${PHP}-simplexml \
php${PHP}-tokenizer \
php${PHP}-xml \
php${PHP}-xmlwriter \
php${PHP}-pecl-mongodb \
php${PHP}-pecl-redis \
php${PHP}-pecl-rdkafka \
php${PHP}-pecl-swoole \
php${PHP}-pecl-xdebug \
&& ln -sf /usr/bin/php${PHP} /usr/bin/php \
&& mv /etc/php/php.ini /etc/php${PHP}/conf.d/99_phpctl.ini \
&& wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet \
&& mv composer.phar /usr/bin/composer \
&& wget https://psysh.org/psysh && chmod a+x psysh && mv psysh /usr/local/bin/psysh \
# && wget https://psysh.org/psysh && chmod a+x psysh && mv psysh /usr/local/bin/psysh \
&& wget https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer && chmod a+x php-cs-fixer && mv php-cs-fixer /usr/local/bin/php-cs-fixer \
&& rm -rf /var/cache/apk/*
ENTRYPOINT [ "/usr/bin/php" ]
Expand Down

0 comments on commit c227f68

Please sign in to comment.