New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor dockerfile and entrypoint script #41
Conversation
- Use static version instead of latest - Perform actions in a single layer
- Run jq with compact output - Fail if cannot call dispatch function
@@ -82,6 +82,11 @@ validate_args() { | |||
fi | |||
} | |||
|
|||
lets_wait() { | |||
echo "Sleeping for ${wait_interval} seconds" | |||
sleep $wait_interval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a fix I think. Compare it to line 127
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what exactly does need to be changed? code is in two sections, one has quotes, other does not, both work the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Re-add changes done in convictional#41
* Combine layers in Docker image * Use -c with jq when formatting client_payloads * Refactor waiting into a common function Originally authored by @duhow (David Girón <contacto@duhowpi.net>)
* Combine layers in Docker image * Use -c with jq when formatting client_payloads * Refactor waiting into a common function Originally authored by @duhow (David Girón <contacto@duhowpi.net>)
* Combine layers in Docker image * Use -c with jq when formatting client_payloads * Refactor waiting into a common function Originally authored by @duhow (David Girón <contacto@duhowpi.net>)
* Combine layers in Docker image * Use -c with jq when formatting client_payloads * Refactor waiting into a common function Originally authored by @duhow (David Girón <contacto@duhowpi.net>)
For Dockerfile:
For entrypoint: