Skip to content

Commit

Permalink
updating kubectl and helm versions (#630)
Browse files Browse the repository at this point in the history
* updating kubectl and helm versions
  • Loading branch information
SyedAbuTalib authored Aug 23, 2024
1 parent f3dffbc commit 633672a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions marketplace/deployer_envsubst_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ RUN pip3 install \
pyyaml \
six

RUN for full_version in 1.27.8 1.29.1; \
RUN for full_version in 1.29.6 1.30.3; \
do \
version=${full_version%.*} \
&& mkdir -p /opt/kubectl/$version \
&& wget -q -O /opt/kubectl/$version/kubectl \
https://storage.googleapis.com/kubernetes-release/release/v$full_version/bin/linux/amd64/kubectl \
&& chmod 755 /opt/kubectl/$version/kubectl; \
done;
RUN ln -s /opt/kubectl/1.27 /opt/kubectl/default
RUN ln -s /opt/kubectl/1.29 /opt/kubectl/default

COPY marketplace/deployer_envsubst_base/* /bin/
COPY marketplace/deployer_util/* /bin/
Expand Down
6 changes: 3 additions & 3 deletions marketplace/deployer_helm_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ RUN pip3 install \
pyOpenSSL \
pyyaml

RUN for full_version in 1.27.8 1.29.1; \
RUN for full_version in 1.29.6 1.30.3; \
do \
version=${full_version%.*} \
&& mkdir -p /opt/kubectl/$version \
&& wget -q -O /opt/kubectl/$version/kubectl \
https://storage.googleapis.com/kubernetes-release/release/v$full_version/bin/linux/amd64/kubectl \
&& chmod 755 /opt/kubectl/$version/kubectl; \
done;
RUN ln -s /opt/kubectl/1.27 /opt/kubectl/default
RUN ln -s /opt/kubectl/1.29 /opt/kubectl/default

RUN mkdir -p /bin/helm-downloaded \
&& wget -q -O /bin/helm-downloaded/helm.tar.gz \
https://get.helm.sh/helm-v3.14.3-linux-amd64.tar.gz \
https://get.helm.sh/helm-v3.15.4-linux-amd64.tar.gz \
&& tar -zxvf /bin/helm-downloaded/helm.tar.gz -C /bin/helm-downloaded \
&& mv /bin/helm-downloaded/linux-amd64/helm /bin/ \
&& rm -rf /bin/helm-downloaded
Expand Down
6 changes: 3 additions & 3 deletions marketplace/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ RUN pip3 install \
pyOpenSSL \
pyyaml

RUN for full_version in 1.27.8 1.29.1; \
RUN for full_version in 1.29.6 1.30.3; \
do \
version=${full_version%.*} \
&& mkdir -p /opt/kubectl/$version \
&& wget -q -O /opt/kubectl/$version/kubectl \
https://storage.googleapis.com/kubernetes-release/release/v$full_version/bin/linux/amd64/kubectl \
&& chmod 755 /opt/kubectl/$version/kubectl; \
done;
RUN ln -s /opt/kubectl/1.27 /opt/kubectl/default
RUN ln -s /opt/kubectl/1.29 /opt/kubectl/default

RUN echo "deb [signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy stable" | tee /etc/apt/sources.list.d/docker.list \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key --keyring /usr/share/keyrings/docker.gpg add - \
&& apt-get -y update \
&& apt-get -y install docker-ce
RUN mkdir -p /bin/helm-downloaded \
&& wget -q -O /bin/helm-downloaded/helm.tar.gz \
https://get.helm.sh/helm-v3.14.3-linux-amd64.tar.gz \
https://get.helm.sh/helm-v3.15.4-linux-amd64.tar.gz \
&& tar -zxvf /bin/helm-downloaded/helm.tar.gz -C /bin/helm-downloaded \
&& mv /bin/helm-downloaded/linux-amd64/helm /bin/ \
&& rm -rf /bin/helm-downloaded
Expand Down

0 comments on commit 633672a

Please sign in to comment.