From 5da1ba05b20593a24803e55fcc44fff18ae76136 Mon Sep 17 00:00:00 2001 From: Evan Sebastian Date: Thu, 20 Feb 2020 20:28:38 +0800 Subject: [PATCH] chore(build): Install Helm3 Binary to Rosco Container Image (#536) --- Dockerfile.java8 | 8 ++++++++ Dockerfile.slim | 8 ++++++++ Dockerfile.ubuntu | 8 ++++++++ Dockerfile.ubuntu-java8 | 8 ++++++++ 4 files changed, 32 insertions(+) diff --git a/Dockerfile.java8 b/Dockerfile.java8 index 79d92ce0d..38cff64bb 100644 --- a/Dockerfile.java8 +++ b/Dockerfile.java8 @@ -13,6 +13,14 @@ RUN apk --no-cache add --update bash wget curl openssl openjdk8-jre && \ ENV PATH "/packer:$PATH" +# Install Helm 3 +RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get-helm-3 && \ + chmod +x get-helm-3 && \ + ./get-helm-3 && \ + rm get-helm-3 && \ + mv /usr/local/bin/helm /usr/local/bin/helm3 + +# Install Helm 2 RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get && \ chmod +x get && \ ./get && \ diff --git a/Dockerfile.slim b/Dockerfile.slim index 1133b5b73..714c21471 100644 --- a/Dockerfile.slim +++ b/Dockerfile.slim @@ -13,6 +13,14 @@ RUN apk --no-cache add --update bash wget curl openssl openjdk11-jre && \ ENV PATH "/packer:$PATH" +# Install Helm 3 +RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get-helm-3 && \ + chmod +x get-helm-3 && \ + ./get-helm-3 && \ + rm get-helm-3 && \ + mv /usr/local/bin/helm /usr/local/bin/helm3 + +# Install Helm 2 RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get && \ chmod +x get && \ ./get && \ diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index e73f2ddab..db7a89dc7 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -13,6 +13,14 @@ RUN apt-get update && apt-get -y install openjdk-11-jre-headless wget unzip curl ENV PATH "/packer:$PATH" +# Install Helm 3 +RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get-helm-3 && \ + chmod +x get-helm-3 && \ + ./get-helm-3 && \ + rm get-helm-3 && \ + mv /usr/local/bin/helm /usr/local/bin/helm3 + +# Install Helm 2 RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get && \ chmod +x get && \ ./get && \ diff --git a/Dockerfile.ubuntu-java8 b/Dockerfile.ubuntu-java8 index eebdf4ce1..358df8c4f 100644 --- a/Dockerfile.ubuntu-java8 +++ b/Dockerfile.ubuntu-java8 @@ -13,6 +13,14 @@ RUN apt-get update && apt-get -y install openjdk-8-jre-headless wget unzip curl ENV PATH "/packer:$PATH" +# Install Helm 3 +RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get-helm-3 && \ + chmod +x get-helm-3 && \ + ./get-helm-3 && \ + rm get-helm-3 && \ + mv /usr/local/bin/helm /usr/local/bin/helm3 + +# Install Helm 2 RUN wget https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get && \ chmod +x get && \ ./get && \