wiremock-docker
wiremock-docker copied to clipboard
add HEALTHCHECK to dockerfiles.
Add a healthcheck to the dockerfiles. This allows other docker tools, such as docker-compose or testcontainers, to check the health status of the container.
This was primarily motivated by the rust testcontainers crate not currently supporting HTTP calls as a wait strategy.
References
Submitter checklist
- [x] Recommended: Join WireMock Slack to get any help in
#help-contributingor a project-specific channel like#wiremock-java - [x] The PR request is well described and justified, including the body and the references
- [x] The PR title represents the desired changelog entry
- [x] The repository's code style is followed (see the contributing guide)
- [x] Test coverage that demonstrates that the change works as expected
- [ ] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org