Block a user
npmplus (r1-pojisan)
Published 2026-02-12 19:48:25 +01:00 by zpericic
Installation
docker pull gitea.netst.org/zpericic/npmplus:r1-pojisansha256:8103399961fa06e51b27a19bb5b407b70d3386ec99559a3baa5d583f1ee32d97Image Layers
| ADD alpine-minirootfs-3.23.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| SHELL [/bin/ash -eo pipefail -c] |
| ENV NODE_ENV=production |
| ARG LRC_VER=v0.1.32R1 |
| ARG LRL_VER=v0.15 |
| ARG LCSB_VER=v1.0.13 |
| COPY /usr/local/nginx /usr/local/nginx # buildkit |
| COPY /src/attachment/core/shmem_ipc/libosrc_shmem_ipc.so /usr/local/lib/libosrc_shmem_ipc.so # buildkit |
| COPY /src/attachment/core/compression/libosrc_compression_utils.so /usr/local/lib/libosrc_compression_utils.so # buildkit |
| COPY /src/attachment/attachments/nginx/nginx_attachment_util/libosrc_nginx_attachment_util.so /usr/local/lib/libosrc_nginx_attachment_util.so # buildkit |
| COPY /app /app # buildkit |
| COPY rootfs / # buildkit |
| COPY LICENSE /LICENSE # buildkit |
| COPY COPYING /COPYING # buildkit |
| WORKDIR /app |
| RUN |3 LRC_VER=v0.1.32R1 LRL_VER=v0.15 LCSB_VER=v1.0.13 /bin/ash -eo pipefail -c apk upgrade --no-cache -a && apk add --no-cache tzdata tini libssl3 libcrypto3 pcre2 luajit zlib brotli zstd lua5.1-cjson geoip libxml2 libldap libmaxminddb-libs curl coreutils findutils grep jq openssl shadow su-exec util-linux-misc bash bash-completion nano logrotate goaccess fcgi luarocks5.1 git make nodejs python3 && 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-openidc && luarocks-5.1 install lua-resty-session && git clone --depth 1 https://github.com/openresty/lua-resty-core --branch "$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 --depth 1 https://github.com/openresty/lua-resty-lrucache --branch "$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 --depth 1 https://github.com/crowdsecurity/lua-cs-bouncer --branch "$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 && cd && rm -r /src /tmp/luarocks_local_cache-* && apk del --no-cache luarocks5.1 git make && sed -i "s|placeholder|$(cat /app/package.json | jq -r .version)|g" /usr/local/nginx/conf/conf.d/crowdsec.conf.disabled && python3 -m venv /usr/local && pip install --no-cache-dir --upgrade pip certbot && wget -q https://raw.githubusercontent.com/tomwassenberg/certbot-ocsp-fetcher/refs/heads/main/certbot-ocsp-fetcher -O - | sed "s|/live||g" > /usr/local/bin/certbot-ocsp-fetcher.sh && wget -q https://raw.githubusercontent.com/vasilevich/nginxbeautifier/5cee8db2a505f2a253e24691399c828c043071fc/index.js -O /usr/local/bin/nginxbeautifier && wget -q https://raw.githubusercontent.com/vasilevich/nginxbeautifier/5cee8db2a505f2a253e24691399c828c043071fc/nginxbeautifier.js -O /usr/local/bin/nginxbeautifier.js && ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx && ln -s /app/password-reset.js /usr/local/bin/password-reset.js && ln -s /app/sqlite-vaccum.js /usr/local/bin/sqlite-vaccum.js && ln -s /app/index.js /usr/local/bin/index.js && chmod +x /usr/local/bin/* # buildkit |
| COPY /app/dist /app/frontend # buildkit |
| ENTRYPOINT ["tini" "--" "entrypoint.sh"] |
| HEALTHCHECK &{["CMD-SHELL" "healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'} |
| LABEL com.centurylinklabs.watchtower.monitor-only=true |
| LABEL wud.watch=false |
| LABEL wud.watch.digest=false |
Labels
| Key | Value |
|---|---|
| com.centurylinklabs.watchtower.monitor-only | true |
| wud.watch | false |
| wud.watch.digest | false |
Details
2026-02-12 19:48:25 +01:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
74 MiB
r1-pojisan
2026-02-12
r1-znjan
2026-02-12