diff options
author | Emile <hanemile@protonmail.com> | 2020-01-29 22:49:56 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-01-29 22:49:56 +0100 |
commit | 6c2c5ebc9e2e0468db107529a3f18ecb2c067f25 (patch) | |
tree | 82629d9190dd1683190a8ab1483669f91e321103 | |
parent | 6135e10897a2f913fe3d24a18ee60a655caad9df (diff) |
using an entrypoint instead of a cmd
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index c0f9507..dcae29f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,4 @@ RUN chmod 000 /home/jail EXPOSE 2222 -CMD su -c ./ssh-grab-passwords jail +ENTRYPOINT su -c ./ssh-grab-passwords jail |