ratus
ratus copied to clipboard
Missing docker HealthCheck
Is: Currently the dockerfile does not contain a health check Wish: Would it be possible to include a health check in the dockerfile?
My current workaround:
ARG BASE_IMAGE="hyperonym/ratus"
FROM alpine as builder
ADD https://github.com/moparisthebest/static-curl/releases/download/v8.7.1/curl-amd64 /curl
RUN chmod 700 /curl
FROM ${BASE_IMAGE}
COPY --from=builder /curl /curl
EXPOSE 80/tcp
HEALTHCHECK --interval=60s --timeout=10s --start-period=5s CMD ["/curl", "-sSf", "http://127.0.0.1/readyz"]