Skip to content

Commit

Permalink
added uv extension for use on laravel reverb
Browse files Browse the repository at this point in the history
  • Loading branch information
mdprotacio committed Sep 7, 2024
1 parent 601dd28 commit 325732f
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile-apache
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -eux; \
libpcre3 \
libpng16-16 \
libsodium23 \
libuv1 \
libxpm4 \
libzip4 \
netcat-traditional \
Expand Down Expand Up @@ -69,6 +70,7 @@ RUN set -eux; \
libpng++-dev \
libsodium-dev \
libssl-dev \
libuv1-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
Expand Down Expand Up @@ -199,6 +201,12 @@ RUN set -eux; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
pecl install --onlyreqdeps --nobuild uv-beta; \
cd "$(pecl config-get temp_dir)/uv"; \
phpize; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
docker-php-ext-enable --ini-name 0-docker-php-ext-igbinary.ini igbinary; \
docker-php-ext-enable --ini-name 0-docker-php-ext-msgpack.ini msgpack; \
cp /usr/bin/envsubst /usr/local/bin/envsubst; \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile-cli
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -eux; \
libpcre3 \
libpng16-16 \
libsodium23 \
libuv1 \
libxpm4 \
libzip4 \
netcat-traditional \
Expand Down Expand Up @@ -69,6 +70,7 @@ RUN set -eux; \
libpng++-dev \
libsodium-dev \
libssl-dev \
libuv1-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
Expand Down Expand Up @@ -199,6 +201,12 @@ RUN set -eux; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
pecl install --onlyreqdeps --nobuild uv-beta; \
cd "$(pecl config-get temp_dir)/uv"; \
phpize; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
docker-php-ext-enable --ini-name 0-docker-php-ext-igbinary.ini igbinary; \
docker-php-ext-enable --ini-name 0-docker-php-ext-msgpack.ini msgpack; \
cp /usr/bin/envsubst /usr/local/bin/envsubst; \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile-cli-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN set -eux; \
libmemcached-libs \
libpng \
libsodium \
libuv \
libxpm \
libzip \
lz4-libs \
Expand Down Expand Up @@ -54,6 +55,7 @@ RUN set -eux; \
linux-headers \
libpng-dev \
libsodium-dev \
libuv-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
Expand Down Expand Up @@ -188,6 +190,12 @@ RUN set -eux; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
pecl install --onlyreqdeps --nobuild uv-beta; \
cd "$(pecl config-get temp_dir)/uv"; \
phpize; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
docker-php-ext-enable --ini-name 0-docker-php-ext-igbinary.ini igbinary; \
docker-php-ext-enable --ini-name 0-docker-php-ext-msgpack.ini msgpack; \
cp /usr/bin/envsubst /usr/local/bin/envsubst; \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -eux; \
libpcre3 \
libpng16-16 \
libsodium23 \
libuv1 \
libxpm4 \
libzip4 \
netcat-traditional \
Expand Down Expand Up @@ -69,6 +70,7 @@ RUN set -eux; \
libpng++-dev \
libsodium-dev \
libssl-dev \
libuv1-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
Expand Down Expand Up @@ -199,6 +201,12 @@ RUN set -eux; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
pecl install --onlyreqdeps --nobuild uv-beta; \
cd "$(pecl config-get temp_dir)/uv"; \
phpize; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
docker-php-ext-enable --ini-name 0-docker-php-ext-igbinary.ini igbinary; \
docker-php-ext-enable --ini-name 0-docker-php-ext-msgpack.ini msgpack; \
cp /usr/bin/envsubst /usr/local/bin/envsubst; \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile-fpm-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN set -eux; \
libmemcached-libs \
libpng \
libsodium \
libuv \
libxpm \
libzip \
lz4-libs \
Expand Down Expand Up @@ -54,6 +55,7 @@ RUN set -eux; \
linux-headers \
libpng-dev \
libsodium-dev \
libuv-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
Expand Down Expand Up @@ -188,6 +190,12 @@ RUN set -eux; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
pecl install --onlyreqdeps --nobuild uv-beta; \
cd "$(pecl config-get temp_dir)/uv"; \
phpize; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
docker-php-ext-enable --ini-name 0-docker-php-ext-igbinary.ini igbinary; \
docker-php-ext-enable --ini-name 0-docker-php-ext-msgpack.ini msgpack; \
cp /usr/bin/envsubst /usr/local/bin/envsubst; \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile-zts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -eux; \
libpng16-16 \
libpcre3 \
libsodium23 \
libuv1 \
libxpm4 \
libzip4 \
netcat-traditional \
Expand Down Expand Up @@ -69,6 +70,7 @@ RUN set -eux; \
libpng++-dev \
libsodium-dev \
libssl-dev \
libuv1-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
Expand Down Expand Up @@ -199,6 +201,12 @@ RUN set -eux; \
# ./configure; \
# make && make test && make install || exit 1; \
# cd -; \
pecl install --onlyreqdeps --nobuild uv-beta; \
cd "$(pecl config-get temp_dir)/uv"; \
phpize; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
docker-php-ext-enable --ini-name 0-docker-php-ext-igbinary.ini igbinary; \
docker-php-ext-enable --ini-name 0-docker-php-ext-msgpack.ini msgpack; \
cp /usr/bin/envsubst /usr/local/bin/envsubst; \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile-zts-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN set -eux; \
libmemcached-libs \
libpng \
libsodium \
libuv \
libxpm \
libzip \
lz4-libs \
Expand Down Expand Up @@ -54,6 +55,7 @@ RUN set -eux; \
linux-headers \
libpng-dev \
libsodium-dev \
libuv-dev \
libwebp-dev \
libxml2-dev \
libxpm-dev \
Expand Down Expand Up @@ -188,6 +190,12 @@ RUN set -eux; \
# ./configure; \
# make && make test && make install || exit 1; \
# cd -; \
pecl install --onlyreqdeps --nobuild uv-beta; \
cd "$(pecl config-get temp_dir)/uv"; \
phpize; \
./configure; \
make && make test && make install || exit 1; \
cd -; \
docker-php-ext-enable --ini-name 0-docker-php-ext-igbinary.ini igbinary; \
docker-php-ext-enable --ini-name 0-docker-php-ext-msgpack.ini msgpack; \
cp /usr/bin/envsubst /usr/local/bin/envsubst; \
Expand Down

0 comments on commit 325732f

Please sign in to comment.