Skip to content

Commit 190c834

Browse files
committed
docker: add LINSTOR GUI by version
Signed-off-by: Moritz Wanzenböck <moritz.wanzenboeck@linbit.com>
1 parent 05479b1 commit 190c834

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dockerfiles/docker-bake.hcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ variable VERSIONS {
2626
KTLS_UTILS = "1.2.1-1"
2727
# renovate: type=deb url=https://packages.linbit.com/public?suite=bookworm&components=misc&binaryArch=amd64 depName=linstor-common
2828
LINSTOR = "1.32.3-1"
29+
# renovate: type=deb url=https://packages.linbit.com/public?suite=bookworm&components=misc&binaryArch=amd64 depName=linstor-gui
30+
LINSTOR_GUI = "1.9.10-1"
2931
}
3032
}
3133

@@ -100,6 +102,7 @@ target "piraeus-server" {
100102
contexts = { base = "target:base" }
101103
args = {
102104
LINSTOR_VERSION = VERSIONS["LINSTOR"]
105+
LINSTOR_GUI_VERSION = VERSIONS["LINSTOR_GUI"]
103106
K8S_AWAIT_ELECTION_VERSION = VERSIONS["K8S_AWAIT_ELECTION"]
104107
}
105108
}

dockerfiles/piraeus-server/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM base
22

33
ARG LINSTOR_VERSION=*
4+
ARG LINSTOR_GUI_VERSION=*
45
RUN --mount=type=cache,target=/var/cache,sharing=private \
56
--mount=type=cache,target=/var/lib/apt/lists,sharing=private \
67
--mount=type=tmpfs,target=/var/log \
@@ -40,7 +41,7 @@ RUN --mount=type=cache,target=/var/cache,sharing=private \
4041
&& \
4142
# remove udev, no need for it in the container \
4243
apt-get remove -y udev && \
43-
apt-get install -y linstor-controller=$LINSTOR_VERSION linstor-satellite=$LINSTOR_VERSION linstor-common=$LINSTOR_VERSION linstor-client linstor-gui
44+
apt-get install -y linstor-controller=$LINSTOR_VERSION linstor-satellite=$LINSTOR_VERSION linstor-common=$LINSTOR_VERSION linstor-gui=$LINSTOR_GUI_VERSION linstor-client
4445

4546
# Log directory need to be group writable. OpenShift assigns random UID and GID, without extra RBAC changes we can only influence the GID.
4647
RUN mkdir /var/log/linstor-controller && \

0 commit comments

Comments
 (0)