# ============LICENSE_END=================================================
#
-FROM adoptopenjdk/openjdk11:jre-11.0.11_9-alpine
+FROM openjdk:11-jre-slim
ARG JAR
-#Install wget
-RUN apk update && apk add wget
+#Install curl and wget
+RUN apt-get update && apt-get install -y --no-install-recommends curl wget && rm -rf /var/lib/apt/lists/*
#Install helm
RUN wget -O helm.tar.gz https://get.helm.sh/helm-v3.6.1-linux-amd64.tar.gz
RUN mv linux-amd64/helm /usr/local/bin/helm
#Install kubectl and configure
-RUN wget https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl
+RUN curl -LO https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl
RUN chmod +x ./kubectl