File tree Expand file tree Collapse file tree
src/Servers/WorkermanServer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM ubuntu:24.04
2-
3- ARG DEBIAN_FRONTEND=noninteractive
4-
5- RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
6- RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
7- apt-get update -yqq > /dev/null && apt-get upgrade -yqq > /dev/null
8-
9- RUN apt-get install -yqq php8.5-cli php8.5-xml php8.5-zip > /dev/null
1+ FROM php:8.5-cli
102
113COPY --from=composer/composer:latest-bin --link /composer /usr/local/bin/composer
124
13- RUN apt-get install -y php-pear php8.5-dev libevent-dev git > /dev/null && \
14- pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.5/cli/conf.d/30-event.ini
5+ RUN docker- php-ext-install pcntl > /dev/null
6+ RUN apt-get update -yqq && apt-get install -yqq git unzip > /dev/null && rm -rf /var/lib/apt/lists/*
157
168WORKDIR /workerman
179COPY src/Servers/WorkermanServer/composer.json .
You can’t perform that action at this time.
0 commit comments