Spaces:
Runtime error
Runtime error
Commit ·
098c355
1
Parent(s): 5b988dd
pre php
Browse files- Dockerfile +11 -1
Dockerfile
CHANGED
|
@@ -56,7 +56,17 @@ RUN apachectl start
|
|
| 56 |
RUN rm /home/user/apache2/htdocs/index.html
|
| 57 |
|
| 58 |
USER root
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
RUN apt install -y libapache2-mod-php8.2 autoconf automake re2c bison
|
| 61 |
# USER user
|
| 62 |
|
|
|
|
| 56 |
RUN rm /home/user/apache2/htdocs/index.html
|
| 57 |
|
| 58 |
USER root
|
| 59 |
+
|
| 60 |
+
WORKDIR /home/user
|
| 61 |
+
RUN apt isntall libxml2 libssl zlib libpng
|
| 62 |
+
RUN wget https://www.php.net/distributions/php-8.3.12.tar.gz
|
| 63 |
+
RUN tar -xf php-8.3.12.tar.gz
|
| 64 |
+
RUN cd php-8.3.12
|
| 65 |
+
WORKDIR /home/user/php-8.3.12
|
| 66 |
+
RUN ls -la
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
RUN apt install -y php-xml php-sqlite3
|
| 70 |
RUN apt install -y libapache2-mod-php8.2 autoconf automake re2c bison
|
| 71 |
# USER user
|
| 72 |
|