iqms (sha256:3f2d192cb0ddae8b3edba16586e58aeaf0a15a51c15b90ed64174e9e4fea931a)
Published 2026-06-16 13:31:12 +02:00 by lukniz
Installation
docker pull git.carabonet.sk/lukniz/iqms@sha256:3f2d192cb0ddae8b3edba16586e58aeaf0a15a51c15b90ed64174e9e4fea931asha256:3f2d192cb0ddae8b3edba16586e58aeaf0a15a51c15b90ed64174e9e4fea931aImage layers
| # debian.sh --arch 'arm64' out/ 'trixie' '@1781049600' |
| 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-xml php-gmp php-intl php-mbstring php-mysql php-common postfix composer # 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 = 1024M/' /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 composer install --no-dev --no-scripts --no-interaction --prefer-dist -d /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.6.5 |
| ARG GIT_SHA=8c9e045 |
| RUN |2 APP_VERSION=v1.6.5 GIT_SHA=8c9e045 /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"] |