Last active
March 25, 2019 16:49
-
-
Save Abreto/a52394e1edf7f6d1176d54081ff62e74 to your computer and use it in GitHub Desktop.
Dockerfile entrypoint example for flexible cli arguments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENTRYPOINT [ "/entrypoint.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Now process on $* | |
echo $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment