Skip to content

Commit

Permalink
chore: add swoole extension to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePushMaker committed Dec 31, 2024
1 parent 5359c65 commit 5696bfa
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 @@ -19,14 +19,17 @@ RUN apk add --update --no-cache \
make \
icu-dev \
libxml2-dev \
curl-dev && \
curl-dev \
git && \ # Añadimos git para instalar Swoole desde PECL
docker-php-ext-configure gd \
--with-freetype \
--with-jpeg \
--with-webp \
--with-xpm && \
docker-php-ext-install -j$(nproc) gd && \
docker-php-ext-install -j$(nproc) mbstring xml curl zip bcmath soap intl pcntl && \
pecl install swoole && \
docker-php-ext-enable swoole && \ # Activamos la extensión Swoole
apk del autoconf gcc g++ make

# Instalamos Composer
Expand Down

0 comments on commit 5696bfa

Please sign in to comment.