Skip to content

Commit

Permalink
pass arguments to child, but properly
Browse files Browse the repository at this point in the history
  • Loading branch information
chinatsu committed Jul 20, 2021
1 parent fdf3625 commit 54c9180
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM jimmidyson/configmap-reload@sha256:91467ba755a0c41199a63fe80a2c321c06edc4d3

COPY entrypoint.sh entrypoint.sh

ENTRYPOINT [ "/bin/sh", "-c", "./entrypoint.sh" ]
ENTRYPOINT [ "./entrypoint.sh" ]
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/sh
trap 'exit 0' SIGINT SIGQUIT SIGTERM
echo "$@"
/configmap-reload "$@"

0 comments on commit 54c9180

Please sign in to comment.