url-oxidizer (frontend)

Published 2025-09-19 02:45:40 +00:00 by koopa in koopa/url-oxidizer

Installation

docker pull git.ihate.tech/koopa/url-oxidizer:frontend
sha256:073e997992defeca20b3bd1f67281c50d12c30c1ecbb9de214b3be3437e5f1e4

About this package

url oxidizer, compiled with Rust and Trunk and packaged as a minimal Docker image for deployment.

Image layers

ADD alpine-minirootfs-3.21.4-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
LABEL maintainer=NGINX Docker Maintainers <docker-maint@nginx.com>
ENV NGINX_VERSION=1.28.0
ENV PKG_RELEASE=1
ENV DYNPKG_RELEASE=1
ARG UID=101
ARG GID=101
RUN |2 UID=101 GID=101 /bin/sh -c set -x && addgroup -g $GID -S nginx || true && adduser -S -D -H -u $UID -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx || true && apkArch="$(cat /etc/apk/arch)" && nginxPackages=" nginx=${NGINX_VERSION}-r${PKG_RELEASE} " && apk add --no-cache --virtual .checksum-deps openssl && case "$apkArch" in x86_64|aarch64) set -x && KEY_SHA512="e09fa32f0a0eab2b879ccbbc4d0e4fb9751486eedda75e35fac65802cc9faa266425edf83e261137a2f4d16281ce2c1a5f4502930fe75154723da014214f0655" && wget -O /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub && if echo "$KEY_SHA512 */tmp/nginx_signing.rsa.pub" | sha512sum -c -; then echo "key verification succeeded!"; mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/; else echo "key verification failed!"; exit 1; fi && apk add -X "https://nginx.org/packages/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" --no-cache $nginxPackages ;; *) set -x && tempDir="$(mktemp -d)" && chown nobody:nobody $tempDir && apk add --no-cache --virtual .build-deps gcc libc-dev make openssl-dev pcre2-dev zlib-dev linux-headers bash alpine-sdk findutils curl && su nobody -s /bin/sh -c " export HOME=${tempDir} && cd ${tempDir} && curl -f -L -O https://github.com/nginx/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && PKGOSSCHECKSUM=\"517bc18954ccf4efddd51986584ca1f37966833ad342a297e1fe58fd0faf14c5a4dabcb23519dca433878a2927a95d6bea05a6749ee2fa67a33bf24cdc41b1e4 *${NGINX_VERSION}-${PKG_RELEASE}.tar.gz\" && if [ \"\$(openssl sha512 -r ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz)\" = \"\$PKGOSSCHECKSUM\" ]; then echo \"pkg-oss tarball checksum verification succeeded!\"; else echo \"pkg-oss tarball checksum verification failed!\"; exit 1; fi && tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz && cd pkg-oss-${NGINX_VERSION}-${PKG_RELEASE} && cd alpine && make base && apk index --allow-untrusted -o ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz ${tempDir}/packages/alpine/${apkArch}/*.apk && abuild-sign -k ${tempDir}/.abuild/abuild-key.rsa ${tempDir}/packages/alpine/${apkArch}/APKINDEX.tar.gz " && cp ${tempDir}/.abuild/abuild-key.rsa.pub /etc/apk/keys/ && apk del --no-network .build-deps && apk add -X ${tempDir}/packages/alpine/ --no-cache $nginxPackages ;; esac && apk del --no-network .checksum-deps && if [ -n "$tempDir" ]; then rm -rf "$tempDir"; fi && if [ -f "/etc/apk/keys/abuild-key.rsa.pub" ]; then rm -f /etc/apk/keys/abuild-key.rsa.pub; fi && apk add --no-cache gettext-envsubst && apk add --no-cache tzdata && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && mkdir /docker-entrypoint.d # buildkit
RUN |2 UID=101 GID=101 /bin/sh -c sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.conf && sed -i '/user nginx;/d' /etc/nginx/nginx.conf && sed -i 's,\(/var\)\{0\,1\}/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf && sed -i "/^http {/a \ proxy_temp_path /tmp/proxy_temp;\n client_body_temp_path /tmp/client_temp;\n fastcgi_temp_path /tmp/fastcgi_temp;\n uwsgi_temp_path /tmp/uwsgi_temp;\n scgi_temp_path /tmp/scgi_temp;\n" /etc/nginx/nginx.conf && chown -R $UID:0 /var/cache/nginx && chmod -R g+w /var/cache/nginx && chown -R $UID:0 /etc/nginx && chmod -R g+w /etc/nginx # buildkit
COPY docker-entrypoint.sh / # buildkit
COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d # buildkit
COPY 15-local-resolvers.envsh /docker-entrypoint.d # buildkit
COPY 20-envsubst-on-templates.sh /docker-entrypoint.d # buildkit
COPY 30-tune-worker-processes.sh /docker-entrypoint.d # buildkit
ENTRYPOINT ["/docker-entrypoint.sh"]
EXPOSE &{[{{119 0} {119 0}}] 0xc000344f00}
STOPSIGNAL SIGQUIT
USER 101
CMD ["nginx" "-g" "daemon off;"]
LABEL maintainer="Tim von Bobrutzki <tim@ihate.tech>"
LABEL org.opencontainers.image.description="url oxidizer, compiled with Rust and Trunk and packaged as a minimal Docker image for deployment."
LABEL org.opencontainers.image.title="Url Oxidizer"
LABEL org.opencontainers.image.licenses="EUPL-1.2+"
COPY dir:6ec9886855784134ad56eba130ba36a4c718094bc734f41db25761f268b3cfa1 in /usr/share/nginx/html
EXPOSE 8080
LABEL "org.opencontainers.image.created"="2025-09-19T02:45:33Z" "org.opencontainers.image.revision"="a9e6b450c71c6f0e7bfc228274b1d6316c7a29d9" "org.opencontainers.image.source"="https://git.ihate.tech/koopa/url-oxidizer.git" "org.opencontainers.image.url"="https://git.ihate.tech/koopa/url-oxidizer"

Labels

Key Value
io.buildah.version 1.36.0
maintainer Tim von Bobrutzki <tim@ihate.tech>
org.opencontainers.image.created 2025-09-19T02:45:33Z
org.opencontainers.image.description url oxidizer, compiled with Rust and Trunk and packaged as a minimal Docker image for deployment.
org.opencontainers.image.licenses EUPL-1.2+
org.opencontainers.image.revision a9e6b450c71c6f0e7bfc228274b1d6316c7a29d9
org.opencontainers.image.source https://git.ihate.tech/koopa/url-oxidizer.git
org.opencontainers.image.title Url Oxidizer
org.opencontainers.image.url https://git.ihate.tech/koopa/url-oxidizer
org.opencontainers.image.version 1.28.0-alpine-slim
Details
Container
2025-09-19 02:45:40 +00:00
4
OCI / Docker
linux/amd64
EUPL-1.2+
5.6 MiB
Versions (2) View all
frontend 2025-09-19
backend 2025-09-19