Open bschmalhofer opened 1 month ago
The inital approach is that local build update cpanfile,snapshot and that the automated builds use it.
TODO:
carton install --deployment
The automated builds initially did not accept the heredoc syntax in the Dockerfile otobo.web.dockerfile . Declaring the Dockerfile frontend in the Dockerfile did the trick.
$ more otobo.web.dockerfile -n 5
# syntax=docker/dockerfile:1.9
# This is the build file for the OTOBO web docker image.
# The services OTOBO web and OTOBO daemon use the same image.
# There is also an extra build target otobo-web-kerberos that adds support for Kerberos.
There still is a problem. When changes from one branch are merged the next higher version branch, e.b. rel-10_1 merged into rel-11_0, then cpanfile.docker.snapshot would also be merged. Excluding files from git merge
is not trivially possible.
Originally posted by @bschmalhofer in https://github.com/RotherOSS/otobo/issues/3448#issuecomment-2233043883