aufnahme (2)
Published 2025-01-06 23:02:40 +01:00 by christian
Installation
docker pull gitea.haschek.at/haschek-solutions/aufnahme:2
sha256:8a875bfe17d832e175720e755f8557d17f2754d3c57bfce235979ca8efc2b64e
Image Layers
ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache git php83 nginx php83-openssl php83-curl php83-phar php83-mbstring php83-ldap php83-session php83-json php83-redis php83-fpm redis openssh curl # buildkit |
RUN /bin/sh -c mkdir -p /var/www/app # buildkit |
WORKDIR /var/www/app |
ADD . /var/www/app/. # buildkit |
RUN /bin/sh -c if [ -d .git ]; then (git tag --sort=-v:refname | head -n 1 || echo "no-tag") > version; else echo "unknown" > version; fi # buildkit |
RUN /bin/sh -c echo "APP_VERSION=$(cat version)" # buildkit |
RUN /bin/sh -c apk add --no-cache php83-ctype php83-dom php83-fileinfo php83-gd php83-iconv php83-simplexml php83-xml php83-xmlreader php83-xmlwriter php83-zip # buildkit |
RUN /bin/sh -c curl -sS https://getcomposer.org/installer | /usr/bin/php83 -- --install-dir=/usr/bin --filename=composer # buildkit |
WORKDIR /var/www/app/src |
RUN /bin/sh -c composer install --no-interaction --no-progress --no-suggest --no-dev --optimize-autoloader # buildkit |
WORKDIR /var/www/app |
ADD docker/rootfs/start.sh /etc/start.sh # buildkit |
RUN /bin/sh -c chmod +x /etc/*.sh # buildkit |
ADD docker/rootfs/nginx.conf /etc/nginx/http.d/default.conf # buildkit |
RUN /bin/sh -c mkdir -p /run/nginx # buildkit |
RUN /bin/sh -c mkdir -p /var/log/nginx # buildkit |
RUN /bin/sh -c sed -i 's/nobody/nginx/g' /etc/php83/php-fpm.d/www.conf # buildkit |
RUN /bin/sh -c sed -i 's/E_ALL \& ~E_DEPRECATED \& ~E_STRICT/E_ALL \& ~E_DEPRECATED \& ~E_STRICT \& ~E_NOTICE \& ~E_WARNING/g' /etc/php83/php.ini # buildkit |
VOLUME [/var/lib/redis] |
VOLUME [/var/www/app/logs] |
EXPOSE map[80/tcp:{}] |
ENTRYPOINT ["/etc/start.sh"] |