Skip to content

[php] Plain PHP with Adapterman add JIT #10013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions frameworks/PHP/php/php-h2o.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ RUN apt-get -yqq update && \
pkg-config \
rsync \
ruby \
systemtap-sdt-dev && \
systemtap-sdt-dev > /dev/null && \
curl -LSs "https://github.com/h2o/h2o/archive/${H2O_VERSION}.tar.gz" | \
tar --strip-components=1 -xz && \
tar --strip-components=1 -xz > /dev/null && \
cmake \
-B build \
-DCMAKE_AR=/usr/bin/gcc-ar \
Expand All @@ -38,9 +38,9 @@ RUN apt-get -yqq update && \
-DCMAKE_RANLIB=/usr/bin/gcc-ranlib \
-DWITH_MRUBY=on \
-G Ninja \
-S . && \
cmake --build build -j && \
cmake --install build
-S . > /dev/null && \
cmake --build build -j > /dev/null && \
cmake --install build > /dev/null

FROM "ubuntu:${UBUNTU_VERSION}"

Expand All @@ -49,13 +49,13 @@ ARG PHP_VERSION=8.4
ENV TZ=America/Los_Angeles

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get -yqq update && \
RUN apt-get -yqq update > /dev/null && \
apt-get -yqq install \
apt-utils \
software-properties-common && \
software-properties-common > /dev/null && \
LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php && \
apt-get -yqq update && \
apt-get -yqq install \
apt-get -yqq update > /dev/null && \
apt-get -yqq install > /dev/null \
"php${PHP_VERSION}" \
"php${PHP_VERSION}-cli" \
"php${PHP_VERSION}-common" \
Expand Down
4 changes: 2 additions & 2 deletions frameworks/PHP/php/php-workerman.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ RUN apt-get install -yqq git unzip \
RUN apt-get install -y php-pear php8.4-dev php8.4-xml libevent-dev > /dev/null
RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.4/cli/conf.d/event.ini

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

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

WORKDIR /php
COPY --link . .
Expand Down
Loading