Compare commits

...

2 Commits

Author SHA1 Message Date
Dominik Meyer 82af1944bb
ADD: run everyting as a user not root
continuous-integration/drone Build is passing Details
2024-01-10 20:58:05 +01:00
Dominik Meyer 13816be8ca
MOD: renamed Dockerfile to Containerfile 2024-01-10 20:55:20 +01:00
2 changed files with 9 additions and 3 deletions

9
Containerfile Normal file
View File

@ -0,0 +1,9 @@
FROM alpine:latest
RUN apk --no-cache add netcat-openbsd
# 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

View File

@ -1,3 +0,0 @@
FROM alpine:latest
RUN apk --no-cache add netcat-openbsd