This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone-docker-testkrb5.git
The following commit(s) were added to refs/heads/master by this push:
new 3cbf52e HDDS-15177. Add command and health check (#21)
3cbf52e is described below
commit 3cbf52e79f4ae25ec1d2fe0b42ad6dbfdc1a9b74
Author: Sergey Soldatov <[email protected]>
AuthorDate: Thu May 7 11:47:14 2026 -0700
HDDS-15177. Add command and health check (#21)
---
Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Dockerfile b/Dockerfile
index 899df94..d3f7f57 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,3 +24,5 @@ COPY krb5.conf /etc/
COPY kadm5.acl /var/lib/krb5kdc/kadm5.acl
RUN kdb5_util create -s -P Welcome1 && kadmin.local -q "addprinc -randkey
admin/[email protected]"
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
+CMD ["krb5kdc", "-n"]
+HEALTHCHECK --interval=2s --timeout=3s --retries=45 --start-period=5s CMD
["bash", "-c", "echo > /dev/tcp/127.0.0.1/88"]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]