iqms (sha256:c8bbd6788d286f447504c87d4c6f02afdb4e6bb018e64757fb0882536c49138d)
Published 2026-05-15 09:49:54 +02:00 by lukniz
Installation
docker pull git.carabonet.sk/lukniz/iqms@sha256:c8bbd6788d286f447504c87d4c6f02afdb4e6bb018e64757fb0882536c49138dsha256:c8bbd6788d286f447504c87d4c6f02afdb4e6bb018e64757fb0882536c49138dImage layers
| # debian.sh --arch 'arm64' out/ 'trixie' '@1777939200' |
| 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 = 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.4.1 |
| ARG GIT_SHA=a69d679 |
| RUN |2 APP_VERSION=v1.4.1 GIT_SHA=a69d679 /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"] |