nginx (sha256:3cf77d49939be127c3f5bde039b2a67aad97d4d6e4a81a9eb5736740d338bbe4)

Published 2024-03-21 22:01:23 +00:00 by panel in Sutty/containers-nginx

Installation

docker pull gitea.nulo.in/sutty/nginx@sha256:3cf77d49939be127c3f5bde039b2a67aad97d4d6e4a81a9eb5736740d338bbe4
sha256:3cf77d49939be127c3f5bde039b2a67aad97d4d6e4a81a9eb5736740d338bbe4

Image Layers

ADD file:80331a5d882ac8a70763f4b19e06f2e04ea3dca34ae6d92810815b170b3c806c in /
CMD ["/bin/sh"]
ARG ALPINE_VERSION
ENV LANG=C.UTF-8
COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit
RUN |1 ALPINE_VERSION=3.17.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.17.6 /bin/sh -c wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub # buildkit
MAINTAINER "f <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"]
MAINTAINER "f <f@sutty.nl>"
ARG NGINX_VERSION=1.24.0-r7
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.6
ENV ACCESS_LOGS_FLAGS=--database=sqlite3:///var/log/access_log.sqlite3 -c /usr/share/crawler-user-agents/crawler-user-agents.json
RUN |3 NGINX_VERSION=1.22.1-r1 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.8 /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 |3 NGINX_VERSION=1.22.1-r1 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.8 /bin/sh -c addgroup -S -g 777 ssl # buildkit
RUN |3 NGINX_VERSION=1.22.1-r1 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.8 /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 |3 NGINX_VERSION=1.22.1-r1 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.8 /bin/sh -c apk add --no-cache nginx-mod-http-brotli nginx-mod-http-geoip2 nginx-mod-http-naxsi # buildkit
RUN |3 NGINX_VERSION=1.22.1-r1 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.8 /bin/sh -c mv /etc/nginx/access_logd_`access_log -v`.conf /etc/nginx/access_logd.conf # buildkit
RUN |3 NGINX_VERSION=1.22.1-r1 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.8 /bin/sh -c nginx -t # buildkit
RUN |3 NGINX_VERSION=1.22.1-r1 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.8 /bin/sh -c chown nginx:nginx /var/lib/access_log.sqlite3 # buildkit
VOLUME [/etc/nginx/sites]
VOLUME [/etc/letsencrypt]
VOLUME [/var/lib/letsencrypt]
EXPOSE map[80/tcp:{}]
EXPOSE map[443/tcp:{}]
EXPOSE map[9113/tcp:{}]

Labels

Key Value
org.opencontainers.image.created 2024-03-21T21:57:16Z
org.opencontainers.image.revision 3956f7fa70fb5ed859f822b732c5459adaaec715
org.opencontainers.image.source https://gitea.nulo.in/Sutty/containers-nginx.git
org.opencontainers.image.url https://gitea.nulo.in/Sutty/containers-nginx
Details
Container
2024-03-21 22:01:23 +00:00
0
OCI / Docker
linux/amd64
44 MiB
Versions (10) View all
latest 2024-03-21
3.17.6 2024-03-21
3.18.5 2024-03-21
3.19.1 2024-03-21
3.17.5 2024-02-21