2023-11-02 22:09:29 UTC
72.3 MB
0
DIRECTORY_LISTING_PATH_PREFIX NGINX_VERSION1.25.3
NJS_VERSION0.8.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PKG_RELEASE1~bookworm
PROXY_CACHE_INACTIVE60m
PROXY_CACHE_MAX_SIZE10g
PROXY_CACHE_VALID_FORBIDDEN30s
PROXY_CACHE_VALID_NOTFOUND1m
PROXY_CACHE_VALID_OK1h
STRIP_LEADING_DIRECTORY_PATH[#000] sha256:578acb154839e9d0034432e8f53756d6f53ba62cf8c7ea5218a2476bf5b58fc9 - 38.43% (27.8 MB)
[#001] sha256:e398db710407fbc310b4bc0b0db1c94161480ac9b44638c6655939f426529780 - 54.55% (39.5 MB)
[#002] sha256:85c41ebe6d660b75d8e2e985314ebce75e602330cd325bc5cfbf9d9723c329a1 - 0.0% (627 Bytes)
[#003] sha256:7170a263b582e6a7b5f650b7f1c146267f694961f837ffefc2505bb9148dd4b0 - 0.0% (958 Bytes)
[#004] sha256:8f28d06e2e2ec58753e1acf21d96619aafeab87e63e06fb0590f56091db38014 - 0.0% (367 Bytes)
[#005] sha256:6f837de2f88742f4e8083bff54bd1c64c1df04e6679c343d1a1c9a650078fd48 - 0.0% (1.18 KB)
[#006] sha256:c1dfc7e1671e8340003503af03d067bae6846c12c30cbc1af3e589cb124fd45d - 0.0% (1.37 KB)
[#007] sha256:8c5885fc6c23bc1c4e131f1e8886c2a2ce2852ea7a17529a7ddc31e24fcfae0f - 0.03% (18.6 KB)
[#008] sha256:19e90ddbb9bc9ad37f3f7712a27f0f974dc310a4ddebcb15d2dafe71b1529747 - 0.0% (1.56 KB)
[#009] sha256:8ef2bb20ea55f68472e4fa3c611450c2fc5e899691659db5c18e89e761c2dd79 - 0.0% (2.22 KB)
[#010] sha256:bdb814f0686516f22279140922473188c7192a1ac0eb60c459245af76ca0727f - 0.0% (681 Bytes)
[#011] sha256:5f3a2a8e182d21d0407ac513cbd3d6aadcdc90fb811a541478341516e4164dd8 - 0.0% (2.69 KB)
[#012] sha256:a5a9f2b35705bd6eac839dde567d281a551852aaebde54735784b457d29f3691 - 6.98% (5.05 MB)
/bin/sh -c #(nop) ADD file:fbd8521c24ed758023728505c18d7a0d6d101bc77fd772a4af9b65049b943864 in /
2023-11-01 00:20:49 UTC/bin/sh -c #(nop) CMD ["bash"]
2023-11-01 05:11:50 UTC/bin/sh -c #(nop) LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
2023-11-01 05:11:50 UTC/bin/sh -c #(nop) ENV NGINX_VERSION=1.25.3
2023-11-01 05:11:50 UTC/bin/sh -c #(nop) ENV NJS_VERSION=0.8.2
2023-11-01 05:11:50 UTC/bin/sh -c #(nop) ENV PKG_RELEASE=1~bookworm
2023-11-01 05:12:13 UTC/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_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; NGINX_GPGKEY_PATH=/usr/share/keyrings/nginx-archive-keyring.gpg; export GNUPGHOME="$(mktemp -d)"; found=''; 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; gpg1 --export "$NGINX_GPGKEY" > "$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}-${PKG_RELEASE} nginx-module-geoip=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-image-filter=${NGINX_VERSION}-${PKG_RELEASE} nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE} " && case "$dpkgArch" in amd64|arm64) echo "deb [signed-by=$NGINX_GPGKEY_PATH] https://nginx.org/packages/mainline/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/mainline/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
2023-11-01 05:12:13 UTC/bin/sh -c #(nop) COPY file:01e75c6dd0ce317d516928a17584d111cd082840c01e58be0afc851b33adb916 in /
2023-11-01 05:12:13 UTC/bin/sh -c #(nop) COPY file:caec368f5a54f70a844a13005eb2255bed778809b3672d516e719ce2f4bce123 in /docker-entrypoint.d
2023-11-01 05:12:13 UTC/bin/sh -c #(nop) COPY file:3b1b9915b7dd898a0e32f7eb9715a35c9feab914022efff68ba990bc1ec7d169 in /docker-entrypoint.d
2023-11-01 05:12:13 UTC/bin/sh -c #(nop) COPY file:57846632accc89753f45cbc00cb9e6223d991e1d31297eec3395a7ca58eed6a6 in /docker-entrypoint.d
2023-11-01 05:12:13 UTC/bin/sh -c #(nop) COPY file:9e3b2b63db9f8fc702e2dc2bdd0943be0d990c028cddcf1c159f5556a8ba3030 in /docker-entrypoint.d
2023-11-01 05:12:14 UTC/bin/sh -c #(nop) ENTRYPOINT ["/docker-entrypoint.sh"]
2023-11-01 05:12:14 UTC/bin/sh -c #(nop) EXPOSE 80
2023-11-01 05:12:14 UTC/bin/sh -c #(nop) STOPSIGNAL SIGQUIT
2023-11-01 05:12:14 UTC/bin/sh -c #(nop) CMD ["nginx" "-g" "daemon off;"]
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV NGINX_VERSION=1.25.3
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV NJS_VERSION=0.8.2
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV PROXY_CACHE_MAX_SIZE=10g
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV PROXY_CACHE_INACTIVE=60m
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV PROXY_CACHE_VALID_OK=1h
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV PROXY_CACHE_VALID_NOTFOUND=1m
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV PROXY_CACHE_VALID_FORBIDDEN=30s
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV CORS_ENABLED=0
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV DIRECTORY_LISTING_PATH_PREFIX=
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)ENV STRIP_LEADING_DIRECTORY_PATH=
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)COPY common/etc /etc # buildkit
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)COPY common/docker-entrypoint.sh /docker-entrypoint.sh # buildkit
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)COPY common/docker-entrypoint.d /docker-entrypoint.d/ # buildkit
2023-11-02 22:07:42 UTC (buildkit.dockerfile.v0)COPY oss/etc /etc # buildkit
2023-11-02 22:07:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux export DEBIAN_FRONTEND=noninteractive; mkdir -p /var/cache/nginx/s3_proxy; chown nginx:nginx /var/cache/nginx/s3_proxy; chmod -R -v +x /docker-entrypoint.sh /docker-entrypoint.d/*.sh; echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://nginx.org/packages/mainline/debian/ $(echo $PKG_RELEASE | cut -f2 -d~) nginx" >> /etc/apt/sources.list.d/nginx.list; apt-get update; apt-get install --no-install-recommends --no-install-suggests --yes curl libedit2 nginx-module-njs=${NGINX_VERSION}+${NJS_VERSION}-${PKG_RELEASE}; apt-get remove --purge --auto-remove --yes; rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list # buildkit
2023-11-02 22:09:29 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install --no-install-recommends --no-install-suggests --yes make gcc libc6-dev curl expect libpcre2-dev libpcre3-dev libedit-dev libreadline-dev libssl-dev libpcre2-posix3 libxml2-dev libxslt1-dev zlib1g-dev; mkdir -p /tmp/nginx /tmp/njs-latest; curl --retry 6 --location "https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" | gunzip | tar --extract --strip-components=1 --directory /tmp/nginx; curl --retry 6 --location 'https://hg.nginx.org/njs/archive/tip.tar.gz' | gunzip | tar --extract --strip-components=1 --directory /tmp/njs-latest; cd /tmp/njs-latest; ./configure; make -j "$(nproc)"; cp build/njs /usr/bin/njs; cd /tmp/nginx; ./configure --add-dynamic-module=/tmp/njs-latest/nginx --without-http_gzip_module --without-http_rewrite_module --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-stream --with-mail --with-threads --with-compat --with-cc-opt="-g -O2 -fdebug-prefix-map=/data/builder/debuild/nginx-${NGINX_VERSION}/debian/debuild-base/nginx-${NGINX_VERSION}=. -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC"; make -j "$(nproc)"; cp objs/ngx_stream_js_module.so /usr/lib/nginx/modules; cp objs/ngx_http_js_module.so /usr/lib/nginx/modules; apt-get purge --yes --auto-remove make gcc libc6-dev expect libpcre2-dev libpcre3-dev libedit-dev libreadline-dev libssl-dev zlib1g-dev; rm -rf /var/lib/apt/lists/* /tmp/* # 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.