8000 chore: install git, vim, curl, icu-dev and new extension pcntl, sockets · zino-coder/docker-php8@3cdb868 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3cdb868

Browse files
chore: install git, vim, curl, icu-dev and new extension pcntl, sockets
1 parent ee9bb5e commit 3cdb868

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docker/php/Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@ LABEL MAINTAINER="Vagner Cardoso <vagnercardosoweb@gmail.com>"
55
ENV TZ=America/Sao_Paulo
66
ENV WORKDIR=/var/www/app.dev
77

8+
# Set timezone
9+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
10+
811
# Updates and installs system dependencies
912
RUN apk add --update --no-cache \
13+
git \
14+
vim \
1015
zip \
1116
unzip \
1217
bash \
18+
curl \
1319
tzdata \
20+
icu-dev \
1421
libxml2-dev \
1522
libpng-dev \
1623
libwebp-dev \
@@ -27,6 +34,7 @@ RUN apk add --update --no-cache \
2734
# Configure php dependency
2835
RUN docker-php-ext-configure soap --enable-soap
2936
RUN docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp
37+
RUN docker-php-ext-configure pcntl --enable-pcntl
3038

3139
# Install php dependencies
3240
RUN docker-php-ext-install \
@@ -43,6 +51,8 @@ RUN docker-php-ext-install \
4351
opcache \
4452
intl \
4553
xsl \
54+
pcntl \
55+
sockets \
4656
exif
4757

4858
# Install lib from pecl

0 commit comments

Comments
 (0)
0