nginx (sha256:360e5ead27ed622e5000d347a6056f1827058c9281b210c362a0c086070827c9)
Published 2025-03-06 19:08:02 +00:00 by sutty
Installation
docker pull git.sutty.abyaya.la/containers/nginx@sha256:360e5ead27ed622e5000d347a6056f1827058c9281b210c362a0c086070827c9sha256:360e5ead27ed622e5000d347a6056f1827058c9281b210c362a0c086070827c9Image layers
| ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG ALPINE_VERSION=3.20.6 |
| ENV LANG=C.UTF-8 |
| COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit |
| RUN |1 ALPINE_VERSION=3.20.6 /bin/sh -c echo ${ALPINE_VERSION} | cut -d . -f 1,2 | xargs -I {} echo https://alpine.sutty.nl/alpine/v{}/sutty | tee -a /etc/apk/repositories # buildkit |
| RUN |1 ALPINE_VERSION=3.20.6 /bin/sh -c wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub # buildkit |
| LABEL org.opencontainers.image.authors=f@sutty.nl |
| ENV EMAIL=monit@sutty.nl |
| ENV EMAIL_FROM=monit@sutty.nl |
| ENV MMONIT=mmmonit.athshe.sutty.nl |
| ENV CREDENTIALS=mmmonit:mmmonit.athshe.sutty.nl |
| RUN /bin/sh -c apk add --no-cache tini monit knsupdate # buildkit |
| RUN /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d # buildkit |
| RUN /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d/external/ # buildkit |
| RUN /bin/sh -c install -dm 2750 -o root -g root /var/lib/monit # buildkit |
| COPY /etc/monitrc /etc/monitrc # buildkit |
| COPY ./nsupdate.sh /usr/local/bin/nsupdate # buildkit |
| COPY ./whatsmyip6.sh /usr/local/bin/whatsmyip6 # buildkit |
| COPY ./whatsmydefaulteth.sh /usr/local/bin/whatsmydefaulteth # buildkit |
| COPY ./syslogize.sh /usr/local/bin/syslogize # buildkit |
| COPY ./zeroconf.sh /usr/local/bin/zeroconf # buildkit |
| COPY ./zeroconf.conf /etc/zeroconf.conf # buildkit |
| EXPOSE map[2812/tcp:{}] |
| ENTRYPOINT ["/sbin/tini" "--"] |
| CMD ["/usr/bin/monit"] |
| LABEL org.opencontainers.image.authors=f@sutty.nl |
| ARG NGINX_VERSION=1.26.2-r0 |
| ARG ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json |
| ARG ACCESS_LOG_VERSION=0.5.9 |
| ARG EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset |
| ENV ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json |
| RUN |4 NGINX_VERSION=1.26.2-r0 ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json ACCESS_LOG_VERSION=0.5.9 EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset /bin/sh -c apk add --no-cache nginx~${NGINX_VERSION} daemonize access_log~${ACCESS_LOG_VERSION} nginx-prometheus-exporter geoip2-database-country geoip2-database-city crawler-user-agents && rm -rf /etc/nginx # buildkit |
| RUN |4 NGINX_VERSION=1.26.2-r0 ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json ACCESS_LOG_VERSION=0.5.9 EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset /bin/sh -c addgroup -S -g 777 ssl # buildkit |
| RUN |4 NGINX_VERSION=1.26.2-r0 ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json ACCESS_LOG_VERSION=0.5.9 EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset /bin/sh -c addgroup nginx ssl # buildkit |
| COPY ./monit.conf /etc/monit.d/nginx.conf # buildkit |
| COPY ./prometheusd.sh /usr/local/bin/prometheusd # buildkit |
| COPY ./access_logd.sh /usr/bin/access_logd # buildkit |
| COPY --chown=nginx:nginx ./nginx /etc/nginx # buildkit |
| COPY ./access_log.sqlite3 /var/lib/access_log.sqlite3 # buildkit |
| RUN |4 NGINX_VERSION=1.26.2-r0 ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json ACCESS_LOG_VERSION=0.5.9 EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset /bin/sh -c apk add --no-cache nginx-mod-http-brotli nginx-mod-http-geoip2 ${EXTRA_PACKAGES} # buildkit |
| RUN |4 NGINX_VERSION=1.26.2-r0 ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json ACCESS_LOG_VERSION=0.5.9 EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset /bin/sh -c mv /etc/nginx/access_logd_`access_log -v`.conf /etc/nginx/access_logd.conf # buildkit |
| RUN |4 NGINX_VERSION=1.26.2-r0 ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json ACCESS_LOG_VERSION=0.5.9 EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset /bin/sh -c nginx -t # buildkit |
| RUN |4 NGINX_VERSION=1.26.2-r0 ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json ACCESS_LOG_VERSION=0.5.9 EXTRA_PACKAGES=nginx-mod-http-modsecurity coreruleset /bin/sh -c chown nginx:nginx /var/lib/access_log.sqlite3 # buildkit |
| VOLUME [/etc/nginx/sites] |
| VOLUME [/etc/letsencrypt] |
| VOLUME [/var/lib/letsencrypt] |
| VOLUME [/var/log] |
| EXPOSE map[80/tcp:{}] |
| EXPOSE map[443/tcp:{}] |
| EXPOSE map[9113/tcp:{}] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | f@sutty.nl |
| org.opencontainers.image.created | 2025-03-06T19:05:28Z |
| org.opencontainers.image.revision | 30b67f4d4ca72379378f1644d10d75bb7bd01e28 |
| org.opencontainers.image.source | https://git.sutty.abyaya.la/containers/nginx.git |
| org.opencontainers.image.url | https://git.sutty.abyaya.la/containers/nginx |
Details
2025-03-06 19:08:02 +00:00
Versions (8)
View all
Container
0
OCI / Docker
linux/amd64
f@sutty.nl
49 MiB