diff options
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 456775c..2967b3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,6 @@ RUN go build -o ssh-grab-passwords ./... RUN adduser -u 1337 -D jail RUN chmod 000 /home/jail -EXPOSE 2222 +USER jail -ENTRYPOINT su -c ./ssh-grab-passwords \ No newline at end of file +ENTRYPOINT [ "./ssh-grab-passwords" ] \ No newline at end of file |