netcat/Containerfile

10 lines
216 B
Plaintext
Raw Permalink Normal View History

2023-07-09 20:48:07 +02:00
FROM alpine:latest
2024-05-19 14:41:43 +02:00
RUN apk --no-cache add netcat-openbsd
2024-01-10 20:58:05 +01:00
# add a user for running netcat in the container
RUN addgroup netcat && adduser -u 8888 -D -G netcat netcat
# run everything as the netcat user
USER netcat