From 121dc469316c7450a2018d83324cd80dade1de5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A8be?= Date: Sat, 12 Aug 2017 14:52:03 +0200 Subject: [PATCH] Bump dockerfile Former-commit-id: a2865689055a962a4d6e5daf924b917deadcf08f Former-commit-id: f38454d614ad2f8cf6e3f0d2638604cd8c948fe9 [formerly 51c8ff743bfdbe351e5e3afe731ef83c03a51989] [formerly 56a602430dcdb20280cd208cbbe07274e21a2b65 [formerly 0070ea6d07ddf270e58ef59a5dd85c465a0ec281 [formerly 0070ea6d07ddf270e58ef59a5dd85c465a0ec281 [formerly 0070ea6d07ddf270e58ef59a5dd85c465a0ec281 [formerly f9c51cb434b3ab134339675372ba39e041f41cab]]]]] Former-commit-id: e6745b352f0adca0f392621c07481974c4cb3bbc [formerly 39505ab1bfdd4da136fa9e9094adfd5a7eebd1da] Former-commit-id: 5796c3e7a86e544424ddf86e00efec0baf8f9594 Former-commit-id: e8944425933d2978ffc32bb10bdde69f54913414 Former-commit-id: ef29d799e0df2c336df7f67467dbf2eb6d11230b Former-commit-id: ca00f000955146b9a44f1e31db5f542647aecbfb [formerly 0c58235678830c264dae2ec3a61fc367593a17f4] Former-commit-id: 11f87c22362edc28f8075493a5d0935608964026 --- docker/Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 31254e3..3922d7a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,8 +2,12 @@ FROM alpine:latest MAINTAINER github@erebe.eu -ADD https://github.com/erebe/wstunnel/blob/master/bin/wstunnel_x86_64?raw=true wstunnel -RUN chmod +x ./wstunnel +RUN adduser -D wstunnel +ADD https://github.com/erebe/wstunnel/blob/master/bin/wstunnel_x86_64?raw=true /home/wstunnel/wstunnel +RUN chmod +x /home/wstunnel/wstunnel -ENTRYPOINT ["./wstunnel"] +EXPOSE 8080 +USER wstunnel + +ENTRYPOINT ["/home/wstunnel/wstunnel"]