From 3634f61f3205540134b5b605cb921c908a4cd519 Mon Sep 17 00:00:00 2001 From: bernhard Date: Wed, 31 Jul 2024 09:23:58 +0200 Subject: [PATCH] Issue #3628: prematurely removed the dummy Kerberos Dockerfiles These are solely meant as a workaround for autmated builds on Docker Hub. Docker Hub is still used for creating the release images. --- otobo.kerberos.web.dockerfile | 17 +++++++++++++++++ otobo.nginx-kerberos.dockerfile | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 otobo.kerberos.web.dockerfile create mode 100644 otobo.nginx-kerberos.dockerfile diff --git a/otobo.kerberos.web.dockerfile b/otobo.kerberos.web.dockerfile new file mode 100644 index 000000000..35835ab51 --- /dev/null +++ b/otobo.kerberos.web.dockerfile @@ -0,0 +1,17 @@ +# This Dockerfile is needed for the OTOBO web docker image with support for Kerberos. +# +# Actually, this file is not used for building the image. It is only a standin as +# Docker Hub checks the existence of the configured Dockerfile when it automatically +# builds images. For the actual build the hook in the script hooks/build is called. +# That script declares that the Dockerfile otobo.web.dockerfile is to be used for building the image. +# +# There is an extra build target otobo-web-kerberos that add support for Kerberos. This +# complicated setup allows that a multiple images are build with a single Dockerfile. Thus +# it is guaranteed that the images do not diverge. + +# See also bin/docker/build_docker_images.sh +# See also https://docs.docker.com/docker-hub/builds/advanced/ +# See also https://doc.otobo.org/manual/installation/10.1/en/content/installation-docker.html + +# just to have a valid Dockerfile +FROM scratch diff --git a/otobo.nginx-kerberos.dockerfile b/otobo.nginx-kerberos.dockerfile new file mode 100644 index 000000000..b1b1210c9 --- /dev/null +++ b/otobo.nginx-kerberos.dockerfile @@ -0,0 +1,17 @@ +# This Dockerfile is needed for the OTOBO nginx docker image with support for Kerberos. +# +# Actually, this file is not used for building the image. It is only a standin as +# Docker Hub checks the existence of the configured Dockerfile when it automatically +# builds images. For the actual build the hook in the script hooks/build is called. +# That script declares that the Dockerfile otobo.nginx-kerberos.dockerfile is to be used for building the image. +# +# There is an extra build target otobo-ngix-kerberos that add support for Kerberos. This +# complicated setup allows that a multiple images are build with a single Dockerfile. Thus +# it is guaranteed that the images do not diverge. + +# See also bin/docker/build_docker_images.sh +# See also https://docs.docker.com/docker-hub/builds/advanced/ +# See also https://doc.otobo.org/manual/installation/10.1/en/content/installation-docker.html + +# just to have a valid Dockerfile +FROM scratch