Skip to content

Commit ded3a07

Browse files
Provide all tools necessary for cluster administration.
OpenTofu / Helm / packer / kubectl are now included.
1 parent d93acf1 commit ded3a07

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

images/wkdev_sdk/Containerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,30 @@ RUN pkg-config --modversion rice-io && \
173173
# when deploying the wkdev-sdk image as bot).
174174
RUN find /etc/systemd/ -type l -name '*.service' -print -exec rm {} \;
175175

176+
### Tools related to webkit-container-infrastructure
177+
178+
# Install OpenTofu
179+
RUN curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh && \
180+
chmod +x install-opentofu.sh && \
181+
./install-opentofu.sh --install-method deb
182+
183+
# Install Helm
184+
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
185+
chmod +x get_helm.sh && \
186+
./get_helm.sh
187+
188+
# Install packer
189+
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - && \
190+
apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" && \
191+
${APT_INSTALL} packer
192+
193+
# Install kubectl
194+
RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.31/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg && \
195+
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.31/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list && \
196+
${APT_INSTALL} kubectl
197+
198+
# Install Hetzner hcloud
199+
RUN ${APT_INSTALL} hcloud-cli
200+
176201
# Switch back to interactive prompt, when using apt.
177202
ENV DEBIAN_FRONTEND dialog

images/wkdev_sdk/required_system_packages/01-base.lst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ iptables libcap2-bin libyajl2 uidmap
77
# NVIDIA/EGL/Wayland integration
88
libnvidia-egl-wayland1
99

10+
# apt-add-repository
11+
software-properties-common
12+
1013
# Pipewire support
1114
wireplumber
1215

images/wkdev_sdk/required_system_packages/04-devtools.lst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ libappstream-dev
2626
# post-install for Epiphany
2727
desktop-file-utils
2828

29+
# JSON commandline processing
30+
jq
31+
2932
# For OpenXR tests
3033
libopenxr1-monado
3134
monado-service

0 commit comments

Comments
 (0)