Skip to content
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

docker - healthcheck assumes /bin/sh #1079

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

morucci
Copy link
Collaborator

@morucci morucci commented Nov 2, 2023

Here is the command executed in the container context:

/bin/sh -c curl --silent --fail localhost:9001/health || exit 1

Since the move to UBI 8 image, sh is available under /usr/bin/sh. This change ensures a link from /bin/sh to /usr/bin/sh.

Attempt to fix #1078

Here is the command executed in the container context:

```
/bin/sh -c curl --silent --fail localhost:9001/health || exit 1
```

Since the move to UBI 8 image, sh is available under /usr/bin/sh.
This change ensures a link from /bin/sh to /usr/bin/sh.

Attempt to fix change-metrics#1078
@morucci morucci merged commit d775a2f into change-metrics:master Nov 2, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question: After using the latest image - 2 Nov 2023 - health check returns unhealthy.
1 participant