From: garciadeblas Date: Tue, 14 Dec 2021 16:46:08 +0000 (+0100) Subject: LCM Dockerfile updated to use helm 3.7.2 and kubectl 1.20.14 X-Git-Tag: v12.0.0rc1~66 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F11499%2F2;p=osm%2Fdevops.git LCM Dockerfile updated to use helm 3.7.2 and kubectl 1.20.14 Change-Id: I0c1e4a5d56e7dd8057d10e5636d4ca07d462d364 Signed-off-by: garciadeblas --- diff --git a/docker/LCM/Dockerfile b/docker/LCM/Dockerfile index 7a5e3768..370f1fe0 100644 --- a/docker/LCM/Dockerfile +++ b/docker/LCM/Dockerfile @@ -30,17 +30,19 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \ openssh-client=1:7.* && \ python3 -m easy_install pip==21.0.1 setuptools==51.0.0 +# https://kubernetes.io/releases/ RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \ && echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list \ - && apt-get update && apt-get install -y kubectl=1.20.4-00 + && apt-get update && apt-get install -y kubectl=1.20.14-00 RUN curl https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz --output helm-v2.17.0.tar.gz \ && tar -zxvf helm-v2.17.0.tar.gz \ && mv linux-amd64/helm /usr/local/bin/helm \ && rm -r linux-amd64/ -RUN curl https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz --output helm-v3.3.4.tar.gz \ - && tar -zxvf helm-v3.3.4.tar.gz \ +# https://github.com/helm/helm/releases +RUN curl https://get.helm.sh/helm-v3.7.2-linux-amd64.tar.gz --output helm-v3.7.2.tar.gz \ + && tar -zxvf helm-v3.7.2.tar.gz \ && mv linux-amd64/helm /usr/local/bin/helm3 \ && rm -r linux-amd64/