Skip to content

Commit

Permalink
Upgrade to php 8.2
Browse files Browse the repository at this point in the history
ruTorrent v4.2.9 is tested to support it.
  • Loading branch information
stickz committed Dec 23, 2023
1 parent bbb3fbe commit 059714a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ RUN apk --update --no-cache add \
openssl-dev \
patch \
pcre-dev \
php81-dev \
php81-pear \
php82-dev \
php82-pear \
tar \
tree \
xz \
Expand Down Expand Up @@ -171,13 +171,13 @@ WORKDIR /usr/local/src/geoip2-phpext
COPY --from=src-geoip2-phpext /src .
RUN <<EOT
set -e
phpize81
phpize82
./configure
make
make install
EOT
RUN mkdir -p ${DIST_PATH}/usr/lib/php81/modules
RUN cp -f /usr/lib/php81/modules/geoip.so ${DIST_PATH}/usr/lib/php81/modules/
RUN mkdir -p ${DIST_PATH}/usr/lib/php82/modules
RUN cp -f /usr/lib/php82/modules/geoip.so ${DIST_PATH}/usr/lib/php82/modules/
RUN tree ${DIST_PATH}

FROM crazymax/alpine-s6:${ALPINE_S6_VERSION}
Expand Down Expand Up @@ -218,23 +218,23 @@ RUN apk --update --no-cache add \
nginx-mod-http-dav-ext \
nginx-mod-http-geoip2 \
openssl \
php81 \
php81-bcmath \
php81-cli \
php81-ctype \
php81-curl \
php81-dom \
php81-fpm \
php81-json \
php81-mbstring \
php81-openssl \
php81-phar \
php81-posix \
php81-session \
php81-sockets \
php81-xml \
php81-zip \
php81-zlib \
php82 \
php82-bcmath \
php82-cli \
php82-ctype \
php82-curl \
php82-dom \
php82-fpm \
php82-json \
php82-mbstring \
php82-openssl \
php82-phar \
php82-posix \
php82-session \
php82-sockets \
php82-xml \
php82-zip \
php82-zlib \
python3 \
py3-pip \
shadow \
Expand Down

0 comments on commit 059714a

Please sign in to comment.