npm: interim net-tools image (thin fork of jc21 2.13.5) for docker exec diagnostics

This commit is contained in:
alexz
2026-06-13 23:17:06 -07:00
parent cc711c89ea
commit 22cca9e08f
5 changed files with 68 additions and 2 deletions

19
apps/npm/build/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# INTERIM image for npm:runtipi.
#
# Thin fork: upstream jc21/nginx-proxy-manager (Debian bookworm) with network
# diagnostic tools baked in, so `docker exec npm_runtipi-npm-1 ping|nslookup|
# dig|traceroute|...` works and SURVIVES container recreation on Runtipi
# restart/update (an in-container `apt install` does not persist).
#
# Stop-gap while the from-source build of the Gitea fork
# (git.alexzaw.dev/alexz/nginx-proxy-manager) is set up. NPM itself is
# byte-for-byte upstream here — only diagnostic packages are added, the
# s6 entrypoint/behaviour is untouched.
FROM jc21/nginx-proxy-manager:2.13.5
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
iputils-ping dnsutils traceroute mtr-tiny netcat-openbsd \
iproute2 net-tools tcpdump telnet whois nmap wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*