Skip to content
Closed
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
10 changes: 5 additions & 5 deletions php/php83/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM gcr.io/gcp-runtimes/ubuntu_20_0_4
ENV PHP_DIR=/opt/php83
ENV PHP_SRC_DIR=/usr/local/src/php83-build
ENV PATH=${PATH}:/usr/local/bin:${PHP_DIR}/bin
ENV PHP_VERISON=8.3.7
ENV PHP_VERSION=8.3.7

RUN apt-get update && \
apt-get -y install \
Expand Down Expand Up @@ -45,10 +45,10 @@ RUN apt purge -y php7.4-common
RUN ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a && \
mkdir -p ${PHP_DIR} ${PHP_SRC_DIR} ${PHP_DIR}/lib/conf.d && \
cd ${PHP_SRC_DIR} && \
wget http://us1.php.net/get/php-$PHP_VERISON.tar.bz2/from/this/mirror \
-O php-$PHP_VERISON.tar.bz2 && \
tar jxf php-$PHP_VERISON.tar.bz2 && \
cd php-$PHP_VERISON && \
wget http://us1.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror \
-O php-$PHP_VERSION.tar.bz2 && \
tar jxf php-$PHP_VERSION.tar.bz2 && \
cd php-$PHP_VERSION && \
./configure \
--prefix=${PHP_DIR} \
--with-config-file-scan-dir=${PHP_DIR}/lib/conf.d \
Expand Down
Loading