2024-08-14 21:31:12 UTC
70.6 MB
2~bookworm
NGINX_VERSION1.26.2
NJS_RELEASE1~bookworm
NJS_VERSION0.8.5
OTEL_VERSION0.1.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_RELEASE1~bookworm
[#000] sha256:2d429b9e73a6cf90a5bb85105c8118b30a1b2deedeae3ea9587055ffcb80eb45 - 39.37% (27.8 MB)
[#001] sha256:40a0d865309c2572e033ba0a7e0428e24e216c0c674a0ab5c590942c295a9db3 - 56.6% (39.9 MB)
[#002] sha256:a949b43e642c715fce2e6addc4bf096facbed53d471ac6c0d85d8e128a25cf52 - 0.0% (626 Bytes)
[#003] sha256:8a756fb620a9949d0e08e249b0d1b9454ebba9e3dfb437109196d15babfde405 - 0.0% (957 Bytes)
[#004] sha256:93a507cb93900a238f9dc864a68afbb25df2ad04d352ba7f7334ed457761c1e3 - 0.0% (393 Bytes)
[#005] sha256:68b64c40132b716d5e0f8a8b0fd109677f824d249422ac8504f938d2b24378d8 - 0.0% (1.18 KB)
[#006] sha256:b1d9628fed3d39e2d43316ceea0c41bf0e3a43e474a9a889c118d15e5a38d2ca - 0.0% (1.37 KB)
[#007] sha256:7f777b9bd8144df369f5c55a748957c3fa3b0026eefceeca3ccb3cf3d7636553 - 4.03% (2.84 MB)
ADD rootfs.tar.xz / # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)CMD ["bash"]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV NGINX_VERSION=1.26.2
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV NJS_VERSION=0.8.5
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV NJS_RELEASE=1~bookworm
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV PKG_RELEASE=1~bookworm
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV DYNPKG_RELEASE=2~bookworm
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEYS="573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 8540A6F18833A80E9C1653A42FD21310B49F6B46 9E9BE90EACBCDE69FE9B204CBCDCD8A38D88A2B3"; NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for NGINX_GPGKEY in $NGINX_GPGKEYS; do for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; done; gpg1 --export "$NGINX_GPGKEYS" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} " && case "$dpkgArch" in amd64|arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)CMD ["nginx" "-g" "daemon off;"]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV OTEL_VERSION=0.1.0
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -x; NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} nginx-module-otel=${NGINX_VERSION}+${OTEL_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64|arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y nginx-module-otel && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile nginx-module-otel ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi # buildkit
2024-08-14 21:31:12 UTC
67.3 MB
2~bookworm
NGINX_VERSION1.26.2
NJS_RELEASE1~bookworm
NJS_VERSION0.8.5
OTEL_VERSION0.1.0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_RELEASE1~bookworm
[#000] sha256:6d29a096dd42e5e003949f934fa6b1a3ec8e076dd8cfc2a85a4e750a3639bf7a - 41.35% (27.8 MB)
[#001] sha256:4cf9584f7885b1e265fa4bd9cb53906d8302f7750e049cbaa3174ea35a4544b0 - 54.61% (36.7 MB)
[#002] sha256:085a6581cedbc37ac2defb6219fc439c8ba1a94180c3c1ab5b7636e275491e87 - 0.0% (628 Bytes)
[#003] sha256:6e595790b60736209c0f2a998494957b64ceeabd98f2bc17bfd22a17c00919c1 - 0.0% (955 Bytes)
[#004] sha256:6b74d5c1b7266a66f2f6bf4cc9eb11f79c7d1adf4fc181d128e9e0b3ec89767f - 0.0% (394 Bytes)
[#005] sha256:584d8a1704e3b34b81c9346804cfbf83e07abba2975f598569c55bb8c139e30e - 0.0% (1.18 KB)
[#006] sha256:7f9d5b3eb76b3647aca8b52f496d6df9cb83a53056787b9ff9bac09f9f408bbb - 0.0% (1.37 KB)
[#007] sha256:bfb2cc358347e3ba741b36e34f5ff0d8e5058c3886f0cb3164b97bd99ee7e192 - 4.03% (2.71 MB)
ADD rootfs.tar.xz / # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)CMD ["bash"]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV NGINX_VERSION=1.26.2
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV NJS_VERSION=0.8.5
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV NJS_RELEASE=1~bookworm
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV PKG_RELEASE=1~bookworm
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV DYNPKG_RELEASE=2~bookworm
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -x && groupadd --system --gid 101 nginx && useradd --system --gid nginx --no-create-home --home /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 ca-certificates && NGINX_GPGKEYS="573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62 8540A6F18833A80E9C1653A42FD21310B49F6B46 9E9BE90EACBCDE69FE9B204CBCDCD8A38D88A2B3"; NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; for NGINX_GPGKEY in $NGINX_GPGKEYS; do for server in hkp://keyserver.ubuntu.com:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; gpg1 --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; done; gpg1 --export "$NGINX_GPGKEYS" > "$NGINX_GPGKEY_PATH" ; rm -rf "$GNUPGHOME"; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} " && case "$dpkgArch" in amd64|arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh / # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/docker-entrypoint.sh"]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)EXPOSE map[80/tcp:{}]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGQUIT
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)CMD ["nginx" "-g" "daemon off;"]
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)ENV OTEL_VERSION=0.1.0
2024-08-14 21:31:12 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -x; NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-xslt=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${DYNPKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${NJS_RELEASE} nginx-module-otel=${NGINX_VERSION}+${OTEL_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64|arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/debian/ bookworm nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y nginx-module-otel && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile nginx-module-otel ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base curl && apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.