diff --git a/runtimes/7.4/Dockerfile b/runtimes/7.4/Dockerfile index 6398754f..2b24e0fc 100644 --- a/runtimes/7.4/Dockerfile +++ b/runtimes/7.4/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:20.04 +FROM ubuntu:21.04 LABEL maintainer="Taylor Otwell" @@ -18,7 +18,7 @@ RUN apt-get update \ && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \ && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C \ && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C \ - && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ppa_ondrej_php.list \ + && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu hirsute main" > /etc/apt/sources.list.d/ppa_ondrej_php.list \ && apt-get update \ && apt-get install -y php7.4-cli php7.4-dev \ php7.4-pgsql php7.4-sqlite3 php7.4-gd \ diff --git a/runtimes/8.0/Dockerfile b/runtimes/8.0/Dockerfile index 6f5daa5b..8504314d 100644 --- a/runtimes/8.0/Dockerfile +++ b/runtimes/8.0/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:20.04 +FROM ubuntu:21.04 LABEL maintainer="Taylor Otwell" @@ -18,7 +18,7 @@ RUN apt-get update \ && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \ && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C \ && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C \ - && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu focal main" > /etc/apt/sources.list.d/ppa_ondrej_php.list \ + && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu hirsute main" > /etc/apt/sources.list.d/ppa_ondrej_php.list \ && apt-get update \ && apt-get install -y php8.0-cli php8.0-dev \ php8.0-pgsql php8.0-sqlite3 php8.0-gd \ @@ -27,7 +27,7 @@ RUN apt-get update \ php8.0-xml php8.0-zip php8.0-bcmath php8.0-soap \ php8.0-intl php8.0-readline \ php8.0-msgpack php8.0-igbinary php8.0-ldap \ - php8.0-redis \ + php8.0-redis php8.0-swoole \ && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \ && curl -sL https://deb.nodesource.com/setup_16.x | bash - \ && apt-get install -y nodejs \ @@ -41,11 +41,6 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -RUN pecl channel-update https://pecl.php.net/channel.xml \ - && pecl install swoole \ - && pecl clear-cache \ - && rm -rf /tmp/* /var/tmp/* - RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.0 RUN groupadd --force -g $WWWGROUP sail diff --git a/runtimes/8.0/php.ini b/runtimes/8.0/php.ini index 9167521b..66d04d5b 100644 --- a/runtimes/8.0/php.ini +++ b/runtimes/8.0/php.ini @@ -2,6 +2,3 @@ post_max_size = 100M upload_max_filesize = 100M variables_order = EGPCS - -# Extensions... -extension=swoole.so