apache (sha256:bbcbb51918d4e81086cb5c19dd8335f25051103f61fa7e4f26528e5a3306993c)
Published 2026-03-06 16:41:45 +01:00 by lukniz
Installation
docker pull git.carabonet.sk/lukniz/apache@sha256:bbcbb51918d4e81086cb5c19dd8335f25051103f61fa7e4f26528e5a3306993csha256:bbcbb51918d4e81086cb5c19dd8335f25051103f61fa7e4f26528e5a3306993cImage layers
| # debian.sh --arch 'arm64' out/ 'trixie' '@1771804800' |
| WORKDIR / |
| COPY script.sh / # buildkit |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt upgrade -y # buildkit |
| RUN /bin/sh -c apt install php -y # buildkit |
| RUN /bin/sh -c apt install mariadb-server -y # buildkit |
| RUN /bin/sh -c apt install phpmyadmin -y # buildkit |
| RUN /bin/sh -c apt install git -y # buildkit |
| RUN /bin/sh -c sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 1000M/' /etc/php/8.4/apache2/php.ini # buildkit |
| RUN /bin/sh -c sed -i 's/post_max_size = 8M/post_max_size = 1000M/' /etc/php/8.4/apache2/php.ini # buildkit |
| RUN /bin/sh -c sed -i 's/memory_limit = 128M/memory_limit = 512M/' /etc/php/8.4/apache2/php.ini # buildkit |
| RUN /bin/sh -c sed -i '$ a Include /etc/phpmyadmin/apache.conf' /etc/apache2/apache2.conf # buildkit |
| RUN /bin/sh -c sed -i '$a$cfg["Servers"][$i]["user"] = "root";' '/etc/phpmyadmin/config.inc.php' # buildkit |
| RUN /bin/sh -c sed -i '$a$cfg["Servers"][$i]["AllowNoPassword"] = true;' '/etc/phpmyadmin/config.inc.php' # buildkit |
| RUN /bin/sh -c chmod +x /script.sh # buildkit |
| EXPOSE [80/tcp] |
| CMD ["sh" "-c" "/script.sh && tail -f /dev/null"] |