Skip to content

Commit 9763065

Browse files
committed
Install git and helm with microshift
1 parent 62a6e26 commit 9763065

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tegra/Containerfile.microshift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ ENV IMAGE_LIST_FILE=${IMAGE_STORAGE_DIR}/image-list.txt
2020
# Set microshift version to install
2121
ARG USHIFT_VER=4.19
2222

23+
# Install git and helm for package management
24+
RUN dnf install -y git
25+
RUN <<EOF
26+
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | sh
27+
cp /usr/local/bin/helm /usr/bin/helm
28+
EOF
29+
2330
# Install MicroShift and its dependencies, then enable the MicroShift service
2431
RUN dnf config-manager \
2532
--set-enabled rhocp-${USHIFT_VER}-for-rhel-9-$(uname -m)-rpms \

0 commit comments

Comments
 (0)