Spaces:
Runtime error
Runtime error
Commit
·
c55624c
1
Parent(s):
3487576
perl
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -59,7 +59,8 @@ RUN rm /home/user/apache2/htdocs/index.html
|
|
| 59 |
USER root
|
| 60 |
|
| 61 |
WORKDIR /home/user
|
| 62 |
-
RUN apt install -y libxml2 libssl-dev libz-dev libpng-dev
|
|
|
|
| 63 |
RUN wget https://www.php.net/distributions/php-8.3.12.tar.gz
|
| 64 |
RUN tar -xf php-8.3.12.tar.gz
|
| 65 |
RUN cd php-8.3.12
|
|
@@ -69,7 +70,6 @@ RUN ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
|
|
| 69 |
RUN make
|
| 70 |
RUN make install
|
| 71 |
RUN apt install -y php-xml php-sqlite3
|
| 72 |
-
RUN apt install -y libapache2-mod-php8.2 autoconf automake re2c bison
|
| 73 |
# USER user
|
| 74 |
|
| 75 |
COPY index.php /home/user/apache2/htdocs/index.php
|
|
|
|
| 59 |
USER root
|
| 60 |
|
| 61 |
WORKDIR /home/user
|
| 62 |
+
RUN apt install -y libxml2 libssl-dev libz-dev libpng-dev perl
|
| 63 |
+
RUN apt install -y libapache2-mod-php8.2 autoconf automake re2c bison
|
| 64 |
RUN wget https://www.php.net/distributions/php-8.3.12.tar.gz
|
| 65 |
RUN tar -xf php-8.3.12.tar.gz
|
| 66 |
RUN cd php-8.3.12
|
|
|
|
| 70 |
RUN make
|
| 71 |
RUN make install
|
| 72 |
RUN apt install -y php-xml php-sqlite3
|
|
|
|
| 73 |
# USER user
|
| 74 |
|
| 75 |
COPY index.php /home/user/apache2/htdocs/index.php
|