Skip to content

Commit

Permalink
Update deployer kubectl versions (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbleyg authored Nov 11, 2021
1 parent d1fd490 commit 084219d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions marketplace/deployer_envsubst_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ RUN pip3 install \
pyyaml \
six

RUN for full_version in 1.15.12 1.16.15 1.17.14 1.18.12; \
RUN for full_version in 1.20.12 1.21.6 1.22.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.17 /opt/kubectl/default
RUN ln -s /opt/kubectl/1.20 /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 @@ -14,19 +14,19 @@ RUN pip3 install \
pyyaml \
six

RUN for full_version in 1.15.12 1.16.15 1.17.14 1.18.12; \
RUN for full_version in 1.20.12 1.21.6 1.22.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.16 /opt/kubectl/default
RUN ln -s /opt/kubectl/1.20 /opt/kubectl/default

RUN mkdir -p /bin/helm-downloaded \
&& wget -q -O /bin/helm-downloaded/helm.tar.gz \
https://get.helm.sh/helm-v3.2.2-linux-amd64.tar.gz \
https://get.helm.sh/helm-v3.7.1-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 084219d

Please sign in to comment.