I've noticed that many entrypoint.sh scripts for docker do something like this:
#!/bin/bash
set -e
... code ...
exec "$@"
What are the set -e
and the exec "$@"
for?
I've noticed that many entrypoint.sh scripts for docker do something like this:
#!/bin/bash
set -e
... code ...
exec "$@"
What are the set -e
and the exec "$@"
for?