From c5ca61c18905efbd8343dfc36088de6d91a5f51d Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Wed, 18 Sep 2024 19:06:27 +0200 Subject: [PATCH] Add: Helm --- Dockerfile | 8 ++++++-- README.md | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6f0db0d..c9625eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN (echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true" apt-get update &&\ apt-get upgrade -y &&\ apt-get install -y curl wget make git unzip gnupg software-properties-common jq &&\ - ## terraform + ## TerraForm (wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null) &&\ gpg --no-default-keyring --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg --fingerprint &&\ (echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list) &&\ @@ -17,7 +17,11 @@ RUN (echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true" curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "/tmp/awscliv2.zip" &&\ unzip /tmp/awscliv2.zip &&\ ./aws/install &&\ - rm /tmp/* -Rf + rm /tmp/* -Rf &&\ + curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 &&\ + chmod 700 get_helm.sh &&\ + ./get_helm.sh &&\ + rm ./get_helm.sh ## See https://github.com/actions/checkout/issues/956 RUN groupmod -g 1000 runner && usermod -u 1000 runner diff --git a/README.md b/README.md index 6bc26a2..8e7f83d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ Opinionated GitHub Action Runner image that brings the ships the following packa * jq Also includes the following tools: -* terraform +* TerraForm * AWS CLI (v2) +* Helm Unlocks node v20 that is already available in the image