| ADD alpine-minirootfs-3.22.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG PLATFORM_FAMILY=alpine |
| ARG PLATFORM_VERSION=322 |
| ARG REGISTRY_IMAGE_VERSION=1.11.3 |
| LABEL org.opencontainers.image.authors=Release Engineering Team <devops@tech.wbsrv.ru> |
| RUN |3 PLATFORM_FAMILY=alpine PLATFORM_VERSION=322 REGISTRY_IMAGE_VERSION=1.11.3 /bin/sh -c set -x && apk add --no-cache ca-certificates curl && curl -fo /etc/apk/keys/angie-signing.rsa https://angie.software/keys/angie-signing.rsa && echo "https://download.angie.software/angie/alpine/v$(egrep -o '[0-9]+\.[0-9]+' /etc/alpine-release)/main" >> /etc/apk/repositories && apk add --no-cache angie angie-console-light angie-module-auth-jwt angie-module-auth-ldap angie-module-auth-pam angie-module-auth-spnego angie-module-auth-totp angie-module-brotli angie-module-cache-purge angie-module-cgi angie-module-combined-upstreams angie-module-dav-ext angie-module-dynamic-limit-req angie-module-echo angie-module-enhanced-memcached angie-module-eval angie-module-geoip2 angie-module-headers-more angie-module-http-auth-radius angie-module-image-filter angie-module-keyval angie-module-lua angie-module-modsecurity angie-module-ndk angie-module-njs angie-module-opentracing angie-module-otel angie-module-perl angie-module-postgres angie-module-redis2 angie-module-rtmp angie-module-set-misc angie-module-subs angie-module-testcookie angie-module-unbrotli angie-module-upload angie-module-vod angie-module-vts angie-module-wasm angie-module-wasmtime angie-module-xslt angie-module-zip angie-module-zstd && ln -sf /dev/stdout /var/log/angie/access.log && ln -sf /dev/stderr /var/log/angie/error.log # buildkit |
| RUN |3 PLATFORM_FAMILY=alpine PLATFORM_VERSION=322 REGISTRY_IMAGE_VERSION=1.11.3 /bin/sh -c mkdir -p /run/angie # buildkit |
| RUN |3 PLATFORM_FAMILY=alpine PLATFORM_VERSION=322 REGISTRY_IMAGE_VERSION=1.11.3 /bin/sh -c chown angie:angie /run/angie # buildkit |
| COPY registry/angie.conf /etc/angie/ # buildkit |
| EXPOSE [80/tcp] |
| CMD ["angie" "-g" "daemon off;"] |
| RUN /bin/sh -c rm -f /etc/angie/http.d/default.conf # buildkit |
| COPY angie.conf /etc/angie/angie.conf # buildkit |
| RUN /bin/sh -c mkdir -p /etc/angie/sites-enabled /etc/angie/certs /var/www/certbot /usr/share/angie/challenge # buildkit |
| COPY challenge/ /usr/share/angie/challenge/ # buildkit |
| EXPOSE [443/tcp 80/tcp] |