fix(telnet): use busybox-static for telnetd applet, rm stale fifo on restart
This commit is contained in:
@@ -2,7 +2,7 @@ ARG BASE_IMAGE=debian:bookworm-slim
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
busybox \
|
||||
busybox-static \
|
||||
rsyslog \
|
||||
procps \
|
||||
net-tools \
|
||||
|
||||
@@ -28,6 +28,7 @@ HIST
|
||||
fi
|
||||
|
||||
# Logging pipeline: named pipe → rsyslogd (RFC 5424) → stdout
|
||||
rm -f /var/run/decnet-logs
|
||||
mkfifo /var/run/decnet-logs
|
||||
|
||||
# Relay pipe to stdout so Docker captures all syslog events
|
||||
|
||||
Reference in New Issue
Block a user