Skip to content

Commit

Permalink
Issue #3628: prematurely removed the dummy Kerberos Dockerfiles
Browse files Browse the repository at this point in the history
These are solely meant as a workaround for autmated builds on Docker Hub.
Docker Hub is still used for creating the release images.
  • Loading branch information
bschmalhofer committed Jul 31, 2024
1 parent dd7efef commit 3634f61
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions otobo.kerberos.web.dockerfile
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions otobo.nginx-kerberos.dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3634f61

Please sign in to comment.