You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this, a program is required that can be executed in the container to issue an HTTP request. However, the current configuration with distroless delivers an image without any such program. So it is not possible.
Could wget be added or the mas-cli extended by code to fire an HTTP request to its own health API?
Describe the solution you'd like
I would like to use the Container image build from https://github.com/element-hq/matrix-authentication-service/blob/main/Dockerfile in my compose/docker-compose file with a healthcheck.
For this, a program is required that can be executed in the container to issue an HTTP request. However, the current configuration with distroless delivers an image without any such program. So it is not possible.
Could wget be added or the mas-cli extended by code to fire an HTTP request to its own health API?
see also: GoogleContainerTools/distroless#1350
Describe alternatives you've considered
One way to do this is to add:
healthcheck: test: ["CMD", "mas-cli", "config", "check"]
I prefer however to use the health HTTP API endpoint.
The text was updated successfully, but these errors were encountered: