diff --git a/Dockerfile b/Dockerfile index 4336c796efeebcc88b5a793faaff3f31ab01a396..6ed3dc98070d45c3c62edf4993c9a2f36b41ee17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Build the intermediate container -ARG BASE_REGISTRY=registry1.dsop.io/ironbank/redhat/ubi -ARG BASE_IMAGE=ubi8 +ARG BASE_REGISTRY=registry1.dso.mil +ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8 ARG BASE_TAG=8.3 FROM kubeflow-images-public/admission-webhook:v20190520-v0-139-gcee39dbc-dirty-0d8f4c AS base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} @@ -15,4 +15,5 @@ RUN find / -path /proc -prune -o -perm /2000 -exec chmod g-s {} \; RUN chown -R kf /app USER kf WORKDIR /app +HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "curl -sL -w "%{http_code}\n" https://127.0.0.1:4443 -o /dev/null" ] ENTRYPOINT [ "./webhook" ]