diff --git a/dockerfiles/docker-bake.hcl b/dockerfiles/docker-bake.hcl index 8d5773d..a19ecbb 100644 --- a/dockerfiles/docker-bake.hcl +++ b/dockerfiles/docker-bake.hcl @@ -26,6 +26,8 @@ variable VERSIONS { KTLS_UTILS = "1.2.1-1" # renovate: type=deb url=https://packages.linbit.com/public?suite=bookworm&components=misc&binaryArch=amd64 depName=linstor-common LINSTOR = "1.32.3-1" + # renovate: type=deb url=https://packages.linbit.com/public?suite=bookworm&components=misc&binaryArch=amd64 depName=linstor-gui + LINSTOR_GUI = "1.9.10-1" } } @@ -100,6 +102,7 @@ target "piraeus-server" { contexts = { base = "target:base" } args = { LINSTOR_VERSION = VERSIONS["LINSTOR"] + LINSTOR_GUI_VERSION = VERSIONS["LINSTOR_GUI"] K8S_AWAIT_ELECTION_VERSION = VERSIONS["K8S_AWAIT_ELECTION"] } } diff --git a/dockerfiles/piraeus-server/Dockerfile b/dockerfiles/piraeus-server/Dockerfile index e2403be..ae1cd63 100644 --- a/dockerfiles/piraeus-server/Dockerfile +++ b/dockerfiles/piraeus-server/Dockerfile @@ -1,6 +1,7 @@ FROM base ARG LINSTOR_VERSION=* +ARG LINSTOR_GUI_VERSION=* RUN --mount=type=cache,target=/var/cache,sharing=private \ --mount=type=cache,target=/var/lib/apt/lists,sharing=private \ --mount=type=tmpfs,target=/var/log \ @@ -40,7 +41,7 @@ RUN --mount=type=cache,target=/var/cache,sharing=private \ && \ # remove udev, no need for it in the container \ apt-get remove -y udev && \ - apt-get install -y linstor-controller=$LINSTOR_VERSION linstor-satellite=$LINSTOR_VERSION linstor-common=$LINSTOR_VERSION linstor-client linstor-gui + apt-get install -y linstor-controller=$LINSTOR_VERSION linstor-satellite=$LINSTOR_VERSION linstor-common=$LINSTOR_VERSION linstor-gui=$LINSTOR_GUI_VERSION linstor-client # Log directory need to be group writable. OpenShift assigns random UID and GID, without extra RBAC changes we can only influence the GID. RUN mkdir /var/log/linstor-controller && \