Skip to content

Commit

Permalink
feat: Update docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
meabed committed Sep 30, 2018
1 parent 2b14781 commit 92693a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ RUN apk update \
&& update-ca-certificates

ADD bin/ARG_OS-ARG_ARCH/ARG_SRC_BIN /ARG_BIN
COPY scripts/docker-entrypoint.sh /usr/local/bin/

EXPOSE 5000

USER nobody:nobody
ENTRYPOINT ["/ARG_BIN"]
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["/ARG_BIN"]
6 changes: 6 additions & 0 deletions scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

echo Your container args are: "$@"

exec "$@"

0 comments on commit 92693a6

Please sign in to comment.