wega (sha256:93a46c05038a870e77c98591453acbcff1ec7cdee4502091ccb9ad93560747b1)
Published 2024-11-29 08:07:16 +01:00 by christian
Installation
docker pull gitea.haschek.at/haschek-solutions/wega@sha256:93a46c05038a870e77c98591453acbcff1ec7cdee4502091ccb9ad93560747b1
sha256:93a46c05038a870e77c98591453acbcff1ec7cdee4502091ccb9ad93560747b1
Image Layers
ADD alpine-minirootfs-3.19.4-armv7.tar.gz / # buildkit |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache php83 bash nginx nginx-mod-stream php83-openssl php83-curl php83-mbstring php83-session php83-json php83-redis php83-fpm redis websocketd rsyslog logrotate # buildkit |
RUN /bin/sh -c mkdir -p /var/www/wega # buildkit |
WORKDIR /var/www/wega |
ADD . /var/www/wega/. # buildkit |
ADD docker/rootfs/redis.conf /etc/redis.conf # buildkit |
ADD docker/rootfs/crontab /etc/crontabs/root # buildkit |
RUN /bin/sh -c rm /etc/logrotate.d/* # buildkit |
ADD docker/rootfs/logrotate.conf /etc/logrotate.d/wega # buildkit |
ADD docker/rootfs/start.sh /etc/start.sh # buildkit |
ADD docker/rootfs/redispulllog.sh /etc/redispulllog.sh # buildkit |
ADD docker/rootfs/readlogs.sh /etc/readlogs.sh # buildkit |
ADD docker/rootfs/prepare_log_download.sh /etc/prepare_log_download.sh # buildkit |
RUN /bin/sh -c chmod +x /etc/*.sh # buildkit |
RUN /bin/sh -c mkdir -p /var/www/wega/data/logs/rsyslog # buildkit |
ADD docker/rootfs/analyze_rsyslog.sh /etc/analyze_rsyslog.sh # buildkit |
RUN /bin/sh -c chmod +x /etc/analyze_rsyslog.sh # buildkit |
ADD docker/rootfs/rsyslog.conf /etc/rsyslog.conf # buildkit |
ADD docker/rootfs/nginx.conf /etc/nginx/http.d/default.conf # buildkit |
ADD docker/rootfs/nginx-stream.conf /etc/nginx/conf.d/stream.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/www/wega/data] |
EXPOSE map[80/tcp:{}] |
ENTRYPOINT ["/etc/start.sh"] |