File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,36 @@ RUN apk add --no-cache libstdc++ libgcc jq git curl unzip sshpass openssh-client
66# Install Composer
77RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2.2
88
9+ # Install PHP extensions
10+ RUN apk add \
11+ bzip2-dev \
12+ libsodium-dev \
13+ libxml2-dev \
14+ libxslt-dev \
15+ linux-headers \
16+ yaml-dev
17+
18+ ENV CFLAGS="$CFLAGS -D_GNU_SOURCE"
19+
20+ RUN docker-php-ext-install \
21+ bz2 \
22+ calendar \
23+ exif \
24+ opcache \
25+ pcntl \
26+ shmop \
27+ soap \
28+ sockets \
29+ sodium \
30+ sysvsem \
31+ sysvshm \
32+ xsl
33+
34+ RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev \
35+ && pecl channel-update pecl.php.net \
36+ && pecl install yaml-2.2.3 && docker-php-ext-enable yaml \
37+ && apk del build-deps
38+
939COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
1040COPY --from=node /usr/local/include/node /usr/local/include/node
1141COPY --from=node /usr/local/share/man/man1/node.1 /usr/local/share/man/man1/node.1
You can’t perform that action at this time.
0 commit comments