Skip to content

Commit

Permalink
Fix health check so that Docker also likes it...
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jul 7, 2024
1 parent 5698804 commit 7ec56d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/images/healthcheck/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for ARCH in amd64 arm64; do
buildah copy "${WORKING_CONTAINER}" "${PROGRAM}-${ARCH}" "/${PROGRAM}"
done
buildah config --entrypoint '["/main"]' "${WORKING_CONTAINER}"
buildah config --healthcheck /is-healthy "${WORKING_CONTAINER}"
buildah config --healthcheck 'CMD /is-healthy' "${WORKING_CONTAINER}"
buildah config --healthcheck-interval 1s "${WORKING_CONTAINER}"
buildah config --healthcheck-retries 1 "${WORKING_CONTAINER}"
buildah config --healthcheck-start-period 10s "${WORKING_CONTAINER}"
Expand Down

0 comments on commit 7ec56d3

Please sign in to comment.