File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,6 @@ RUN apt-get update \
1919FROM base AS base-build
2020RUN yes | apt-get install $PHPIZE_DEPS git libuv1-dev
2121
22- FROM base-build AS build-parallel
23- RUN git clone https://github.com/krakjoe/parallel
24- WORKDIR /parallel
25- RUN git fetch \
26- && git pull \
27- && phpize \
28- && ./configure \
29- && make install \
30- && EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
31- cp "$EXTENSION_DIR/parallel.so" /parallel.so
32- RUN sha256sum /parallel.so
33-
3422FROM base-build AS build-uv
3523RUN git clone https://github.com/bwoebi/php-uv uv
3624WORKDIR /uv
@@ -45,7 +33,6 @@ RUN sha256sum /uv.so
4533
4634FROM base AS zts-slim-root
4735
48- COPY --from=build-parallel /parallel.so /parallel.so
4936COPY --from=build-uv /uv.so /uv.so
5037
5138# Patch CVE-2018-14618 (curl), CVE-2018-16842 (libxml2), CVE-2019-1543 (openssl)
@@ -76,6 +63,7 @@ RUN EXTENSION_DIR=`php-config --extension-dir 2>/dev/null` && \
7663 gdb \
7764 $PHPIZE_DEPS \
7865 && docker-php-ext-install -j$(nproc) pcntl pgsql pdo pdo_pgsql bcmath zip gmp iconv \
66+ && pecl install parallel \
7967 && docker-php-ext-enable parallel \
8068 && docker-php-ext-enable uv \
8169 && wget -q -O - https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh > /bin/wait-for \
You can’t perform that action at this time.
0 commit comments