apmplus (sha256:42e5521d2577d35897132f37817220dc9808bdfcf1e1252d95acdaf6d6f15e1c)
Published 2026-08-06 17:36:33 +03:00 by kolkwitz
Installation
docker pull git.voron.one/kolkwitz/apmplus@sha256:42e5521d2577d35897132f37817220dc9808bdfcf1e1252d95acdaf6d6f15e1csha256:42e5521d2577d35897132f37817220dc9808bdfcf1e1252d95acdaf6d6f15e1cAbout this package
APMplus (Angie Proxy Manager Plus) — reverse-proxy admin UI on Angie
Image layers
| ADD alpine-minirootfs-3.22.5-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG PLATFORM_FAMILY=alpine |
| ARG PLATFORM_VERSION=322 |
| ARG REGISTRY_IMAGE_VERSION=1.12.1 |
| LABEL org.opencontainers.image.authors=Release Engineering Team <devops@tech.wbsrv.ru> |
| RUN |3 PLATFORM_FAMILY=alpine PLATFORM_VERSION=322 REGISTRY_IMAGE_VERSION=1.12.1 /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.12.1 /bin/sh -c mkdir -p /run/angie # buildkit |
| RUN |3 PLATFORM_FAMILY=alpine PLATFORM_VERSION=322 REGISTRY_IMAGE_VERSION=1.12.1 /bin/sh -c chown angie:angie /run/angie # buildkit |
| COPY registry/angie.conf /etc/angie/ # buildkit |
| EXPOSE [80/tcp] |
| CMD ["angie" "-g" "daemon off;"] |
| SHELL [/bin/ash -eo pipefail -c] |
| USER root |
| ENV NODE_ENV=production |
| ARG SKIP_OPENAPPSEC=1 |
| ARG LRC_VER=6fec23e2149c88b33b39fec8a5ebdd67a3e0dd88 # v0.1.34rc3 |
| ARG LRL_VER=3ff6300e68b73ba20e909c7d16bd839aef2e5a4b # v0.15 |
| ARG LCSB_VER=c6fe0130caf1a668d1893dcc5a32f41d98cbd695 # v1.0.15 |
| ARG LIBLOC_VER=master |
| COPY /app /app # buildkit |
| COPY /out/modules/ /usr/lib/angie/modules/ # buildkit |
| COPY /out/lib/ /usr/lib/ # buildkit |
| COPY rootfs / # buildkit |
| COPY MIT.LICENSE /MIT.LICENSE # buildkit |
| COPY COPYING /COPYING # buildkit |
| WORKDIR /app |
| RUN |9 SKIP_OPENAPPSEC=1 LRC_VER=6fec23e2149c88b33b39fec8a5ebdd67a3e0dd88 #= v0.1.34rc3= LRL_VER=3ff6300e68b73ba20e909c7d16bd839aef2e5a4b v0.15= LCSB_VER=c6fe0130caf1a668d1893dcc5a32f41d98cbd695 v1.0.15= LIBLOC_VER=master /bin/ash -eo pipefail -c apk add --update-cache tzdata tini curl coreutils findutils grep jq openssl shadow su-exec util-linux-misc bash bash-completion nano logrotate luajit lua5.1-cjson luarocks5.1 git make autoconf automake libtool pkgconf openssl-dev build-base zlib-dev python3 python3-dev intltool gettext-dev lua5.1 lua5.1-dev bsd-compat-headers nodejs libmaxminddb-libs iptables angie-console-light angie-module-cache-purge && luarocks-5.1 install lua-resty-http && luarocks-5.1 install lua-resty-string && luarocks-5.1 install lua-resty-openssl && luarocks-5.1 install lua-resty-dns && git config --global advice.detachedHead false && git config --global init.defaultBranch main && git-clone-commit.sh https://github.com/openresty/lua-resty-core "$LRC_VER" /src/lua-resty-core && cd /src/lua-resty-core && make -j "$(nproc)" install LUA_LIB_DIR=/usr/local/share/lua/5.1 && git-clone-commit.sh https://github.com/openresty/lua-resty-lrucache "$LRL_VER" /src/lua-resty-lrucache && cd /src/lua-resty-lrucache && make -j "$(nproc)" install LUA_LIB_DIR=/usr/local/share/lua/5.1 && git-clone-commit.sh https://github.com/crowdsecurity/lua-cs-bouncer "$LCSB_VER" /src/lua-cs-bouncer && mv /src/lua-cs-bouncer/lib/* /usr/local/share/lua/5.1 && mv /src/lua-cs-bouncer/templates/captcha.html /etc/captcha.html.original && mv /src/lua-cs-bouncer/templates/ban.html /etc/ban.html.original && git-clone-commit.sh https://git.ipfire.org/pub/git/location/libloc.git "$LIBLOC_VER" /src/libloc && cd /src/libloc && printf '%s\n' '#include <endian.h>' >> src/libloc/compat.h && sed -i 's/LUA_VERSION_RELEASE_NUM < 502/defined(LUA_VERSION_NUM) \&\& LUA_VERSION_NUM < 502/' src/lua/compat.h && sed -i '/country-list.h/a #include <time.h>' src/libloc/database.h && sed -i '/#include "network.h"/a #include <time.h>' src/lua/database.c && sed -i 's/#if (__WORDSIZE > 32)/#if defined(__LP64__) || defined(_LP64)/' src/python/network.c && ./autogen.sh && ./configure --prefix=/usr --sysconfdir=/etc --disable-perl --disable-man-pages --with-database-path=/data/geoip/location.db LUA_CFLAGS="$(pkg-config --cflags lua5.1)" LUA_LIBS="$(pkg-config --libs lua5.1)" && make -j "$(nproc)" && make install && location --version && test -n "$(find /usr -name 'location.so' -type f)" && lua5.1 -e 'package.cpath="/usr/lib/lua/5.1/?.so;"..package.cpath; print(require("location").version())' && cd && rm -rf /src /tmp/luarocks_local_cache-* && apk del luarocks5.1 git make autoconf automake libtool pkgconf openssl-dev build-base zlib-dev python3-dev intltool gettext-dev lua5.1-dev bsd-compat-headers && sed -i "s|placeholder|$(jq -r .version /app/package.json)|g" /etc/angie/conf.d/crowdsec.conf.disabled && python3 -m venv /usr/local && pip install --no-cache-dir --upgrade pip certbot && curl -fsSL https://raw.githubusercontent.com/tomwassenberg/certbot-ocsp-fetcher/refs/heads/main/certbot-ocsp-fetcher | sed "s|/live||g" > /usr/local/bin/certbot-ocsp-fetcher.sh && curl -fsSL https://raw.githubusercontent.com/vasilevich/nginxbeautifier/5cee8db2a505f2a253e24691399c828c043071fc/index.js -o /usr/local/bin/nginxbeautifier && curl -fsSL https://raw.githubusercontent.com/vasilevich/nginxbeautifier/5cee8db2a505f2a253e24691399c828c043071fc/nginxbeautifier.js -o /usr/local/bin/nginxbeautifier.js && ln -sf /usr/sbin/angie /usr/local/bin/angie && ln -sf /app/password-reset.js /usr/local/bin/password-reset.js && ln -sf /app/sqlite-vaccum.js /usr/local/bin/sqlite-vaccum.js && ln -sf /app/index.js /usr/local/bin/index.js && chmod +x /usr/local/bin/* && angie -V && test -s /usr/share/angie-console-light/html/index.html && test -s /usr/lib/angie/modules/ngx_http_fancyindex_module.so && test -s /usr/lib/angie/modules/ngx_http_cache_purge_module.so && if [ "$SKIP_OPENAPPSEC" = "1" ]; then echo "SKIP_OPENAPPSEC=1 — проверка бинарников openappsec пропущена"; test ! -e /usr/lib/angie/modules/libngx_module.so; else test -s /usr/lib/angie/modules/libngx_module.so && ls -la /usr/lib/angie/modules/ngx_http_fancyindex_module.so /usr/lib/angie/modules/ngx_http_cache_purge_module.so /usr/lib/angie/modules/libngx_module.so /usr/lib/libshmem_ipc_2.so /usr/lib/libosrc_compression_utils.so /usr/lib/libosrc_nginx_attachment_util.so; fi && printf '%s\n' 'load_module modules/ngx_http_fancyindex_module.so;' 'load_module modules/ngx_http_cache_purge_module.so;' 'events {}' 'http {}' > /tmp/module-abi-test.conf && angie -t -c /tmp/module-abi-test.conf && rm -f /tmp/module-abi-test.conf # buildkit |
| COPY /app/dist /app/frontend # buildkit |
| ENTRYPOINT ["tini" "--" "entrypoint.sh"] |
| HEALTHCHECK {Test:[CMD-SHELL healthcheck.sh] Interval:0s Timeout:0s StartPeriod:0s StartInterval:0s Retries:0} |
| LABEL org.opencontainers.image.title=APMplus org.opencontainers.image.description=APMplus (Angie Proxy Manager Plus) — reverse-proxy admin UI on Angie org.opencontainers.image.source=https://git.voron.one/kolkwitz/NPMAngie.git com.centurylinklabs.watchtower.monitor-only=true wud.watch=false wud.watch.digest=false |
Labels
| Key | Value |
|---|---|
| com.centurylinklabs.watchtower.monitor-only | true |
| org.opencontainers.image.authors | Release Engineering Team <devops@tech.wbsrv.ru> |
| org.opencontainers.image.description | APMplus (Angie Proxy Manager Plus) — reverse-proxy admin UI on Angie |
| org.opencontainers.image.source | https://git.voron.one/kolkwitz/apmplus |
| org.opencontainers.image.title | APMplus |
| wud.watch | false |
| wud.watch.digest | false |