Skip installation of curl in helm-manager
[nonrtric.git] / helm-manager / Dockerfile
index b9283c0..a70af54 100644 (file)
@@ -19,17 +19,16 @@ FROM openjdk:11-jre-slim
 
 ARG JAR
 
-#Install curl
-RUN apt-get update
-RUN apt-get install -y curl
+#Install wget
+RUN apt-get update && apt-get install -y wget
 
 #Install helm
-RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
-RUN chmod 700 get_helm.sh
-RUN ./get_helm.sh
+RUN wget -O helm.tar.gz https://get.helm.sh/helm-v3.6.1-linux-amd64.tar.gz
+RUN tar -zxvf helm.tar.gz
+RUN mv linux-amd64/helm /usr/local/bin/helm
 
 #Install kubectl and configure
-RUN curl -LO https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl
+RUN wget https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl
 
 RUN chmod +x ./kubectl