iqms (sha256:5424eb02d65f88da9ad54971e993386ad822ab7210862fc2f975db23d9efc3d8)
Published 2026-04-09 11:54:39 +02:00 by lukniz
Installation
docker pull git.carabonet.sk/lukniz/iqms@sha256:5424eb02d65f88da9ad54971e993386ad822ab7210862fc2f975db23d9efc3d8sha256:5424eb02d65f88da9ad54971e993386ad822ab7210862fc2f975db23d9efc3d8Image layers
| # debian.sh --arch 'arm64' out/ 'trixie' '@1775433600' |
| WORKDIR / |
| 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 -y dos2unix # buildkit |
| RUN /bin/sh -c apt install -y php php-pdo php-ldap php-gd php-gmp php-intl php-mbstring php-mysql php-common postfix # buildkit |
| RUN /bin/sh -c a2enmod rewrite # buildkit |
| RUN /bin/sh -c sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf # buildkit |
| RUN /bin/sh -c echo "ServerName localhost" >> /etc/apache2/apache2.conf # 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 |
| COPY /files/script.sh / # buildkit |
| COPY /files/main.cf /etc/postfix/ # buildkit |
| RUN /bin/sh -c dos2unix /script.sh # buildkit |
| RUN /bin/sh -c dos2unix /etc/postfix/main.cf # buildkit |
| COPY /app/ /var/www/html # buildkit |
| RUN /bin/sh -c chmod +x /script.sh # buildkit |
| RUN /bin/sh -c rm /var/www/html/index.html # buildkit |
| RUN /bin/sh -c chmod 775 /var/www/html -R # buildkit |
| RUN /bin/sh -c chown www-data:www-data /var/www/html/ -R # buildkit |
| RUN /bin/sh -c chmod 775 /var/www/html/ -R # buildkit |
| WORKDIR /var/www/html/ |
| EXPOSE [80/tcp] |
| ARG APP_VERSION=v1.0.3 |
| ARG GIT_SHA=4df841e |
| RUN |2 APP_VERSION=v1.0.3 GIT_SHA=4df841e /bin/sh -c echo "<?php define('APP_BRANCH', '$APP_VERSION'); define('GIT_COMMIT', '$GIT_SHA'); ?>" > /var/www/html/version.php # buildkit |
| CMD ["sh" "-c" "/script.sh && tail -f /dev/null"] |