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
|