Skip to content

Commit f69cde7

Browse files
authored
[php] Plain PHP with Adapterman add JIT (#10013)
* [php] Plain PHP with Adapterman add JIT * Small change to rerun CI * Again small change that fail the CI build * Again small change for CI * Rerun CI * Fix dockerfile
1 parent f6c3ffc commit f69cde7

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

frameworks/PHP/php/php-h2o.dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ RUN apt-get -yqq update && \
2727
pkg-config \
2828
rsync \
2929
ruby \
30-
systemtap-sdt-dev && \
30+
systemtap-sdt-dev > /dev/null && \
3131
curl -LSs "https://github.com/h2o/h2o/archive/${H2O_VERSION}.tar.gz" | \
32-
tar --strip-components=1 -xz && \
32+
tar --strip-components=1 -xz > /dev/null && \
3333
cmake \
3434
-B build \
3535
-DCMAKE_AR=/usr/bin/gcc-ar \
@@ -38,9 +38,9 @@ RUN apt-get -yqq update && \
3838
-DCMAKE_RANLIB=/usr/bin/gcc-ranlib \
3939
-DWITH_MRUBY=on \
4040
-G Ninja \
41-
-S . && \
42-
cmake --build build -j && \
43-
cmake --install build
41+
-S . > /dev/null && \
42+
cmake --build build -j > /dev/null && \
43+
cmake --install build > /dev/null
4444

4545
FROM "ubuntu:${UBUNTU_VERSION}"
4646

@@ -49,13 +49,13 @@ ARG PHP_VERSION=8.4
4949
ENV TZ=America/Los_Angeles
5050

5151
ARG DEBIAN_FRONTEND=noninteractive
52-
RUN apt-get -yqq update && \
52+
RUN apt-get -yqq update > /dev/null && \
5353
apt-get -yqq install \
5454
apt-utils \
55-
software-properties-common && \
55+
software-properties-common > /dev/null && \
5656
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php && \
57-
apt-get -yqq update && \
58-
apt-get -yqq install \
57+
apt-get -yqq update > /dev/null && \
58+
apt-get -yqq install > /dev/null \
5959
"php${PHP_VERSION}" \
6060
"php${PHP_VERSION}-cli" \
6161
"php${PHP_VERSION}-common" \

frameworks/PHP/php/php-workerman.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ RUN apt-get install -yqq git unzip \
1212
RUN apt-get install -y php-pear php8.4-dev php8.4-xml libevent-dev > /dev/null
1313
RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.4/cli/conf.d/event.ini
1414

15-
COPY deploy/workerman/cli-php.ini /etc/php/8.4/cli/php.ini
15+
COPY deploy/workerman/cli-php.ini /etc/php/8.4/cli/conf.d/20-adapterman.ini
1616

17-
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
17+
COPY --from=composer/composer:latest-bin --link /composer /usr/local/bin/composer
1818

1919
WORKDIR /php
2020
COPY --link . .

0 commit comments

Comments
 (0)