Spaces:
Runtime error
Runtime error
Commit
·
8e44ed7
1
Parent(s):
d7a25dd
PHP
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -2,7 +2,7 @@ FROM debian:12.6
|
|
| 2 |
|
| 3 |
RUN apt update -y
|
| 4 |
RUN apt upgrade -y
|
| 5 |
-
RUN apt install -y curl unzip wget xz-utils
|
| 6 |
RUN apt search "Apache Portable Runtime Library"
|
| 7 |
RUN apt search "Apache Portable Runtime Utility "
|
| 8 |
RUN apt install -y libtool libapr1 libaprutil1 libtool-bin
|
|
@@ -42,6 +42,7 @@ RUN apt install -y locate
|
|
| 42 |
RUN updatedb
|
| 43 |
RUN locate index.html
|
| 44 |
RUN rm /apache2/htdocs/index.html
|
|
|
|
| 45 |
COPY index.php /apache2/htdocs/index.php
|
| 46 |
COPY test.html /apache2/htdocs/test.html
|
| 47 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|
|
|
|
| 2 |
|
| 3 |
RUN apt update -y
|
| 4 |
RUN apt upgrade -y
|
| 5 |
+
RUN apt install -y curl unzip wget xz-utils gcc make libapr1-dev libaprutil1-dev libpcre3 libpcre3-dev
|
| 6 |
RUN apt search "Apache Portable Runtime Library"
|
| 7 |
RUN apt search "Apache Portable Runtime Utility "
|
| 8 |
RUN apt install -y libtool libapr1 libaprutil1 libtool-bin
|
|
|
|
| 42 |
RUN updatedb
|
| 43 |
RUN locate index.html
|
| 44 |
RUN rm /apache2/htdocs/index.html
|
| 45 |
+
RUN apt install -Y php php-xml php-sqlite3
|
| 46 |
COPY index.php /apache2/htdocs/index.php
|
| 47 |
COPY test.html /apache2/htdocs/test.html
|
| 48 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|