Spaces:
Runtime error
Runtime error
| FROM debian:12.6 | |
| RUN apt update -y | |
| RUN apt upgrade -y | |
| RUN apt install -y curl unzip wget xz-utils php-xml php-sqlite3 gcc make libapr1-dev libaprutil1-dev libpcre3 libpcre3-dev | |
| RUN apt search "Apache Portable Runtime Library" | |
| RUN apt search "Apache Portable Runtime Utility " | |
| RUN apt install -y libtool libapr1 libaprutil1 libtool-bin | |
| RUN wget https://dlcdn.apache.org/httpd/httpd-2.4.62.tar.gz | |
| RUN tar -xf httpd-2.4.62.tar.gz | |
| RUN cd httpd-2.4.62 | |
| WORKDIR /httpd-2.4.62 | |
| RUN ls -la | |
| RUN echo | |
| RUN echo =================================================================== | |
| RUN cat README | |
| RUN echo | |
| RUN echo =================================================================== | |
| RUN cat README | |
| RUN echo | |
| RUN echo =================================================================== | |
| RUN echo | |
| RUN cat INSTALL | |
| RUN echo =================================================================== | |
| RUN echo | |
| RUN ./configure --prefix=/usr/local/apache2 | |
| RUN make | |
| RUN make install | |
| # $HOME/apache | |
| # /usr/local/apache2/conf/httpd.conf | |
| RUN ls -la /usr/local/apache2/bin | |
| # RUN /usr/local/apache2/conf/apachectl start | |
| CMD [ "bash","-c", "apachectl start; curl localhost; tail -F error.log" ] |