netcat/Containerfile

10 lines
216 B
Plaintext
Raw Normal View History

2023-07-09 20:48:07 +02:00
FROM alpine:latest
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