Skip to content

Commit

Permalink
Update kubectl versions in deployer images (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbleyg authored Dec 3, 2020
1 parent 21c08f9 commit 8e7c2bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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.13.12 1.14.8 1.15.11 1.16.9 1.17.5 1.18.2; \
RUN for full_version in 1.15.12 1.16.15 1.17.14 1.18.12; \
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.17 /opt/kubectl/default

COPY marketplace/deployer_envsubst_base/* /bin/
COPY marketplace/deployer_util/* /bin/
Expand Down
4 changes: 2 additions & 2 deletions marketplace/deployer_helm2_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.13.12 1.14.8 1.15.11 1.16.9 1.17.5 1.18.2; \
RUN for full_version in 1.15.12 1.16.15 1.17.14 1.18.12; \
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.17 /opt/kubectl/default

RUN mkdir -p /bin/helm-downloaded \
&& wget -q -O /bin/helm-downloaded/helm.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion marketplace/deployer_helm_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN pip3 install \
pyyaml \
six

RUN for full_version in 1.13.12 1.14.8 1.15.11 1.16.9 1.17.5 1.18.2; \
RUN for full_version in 1.15.12 1.16.15 1.17.14 1.18.12; \
do \
version=${full_version%.*} \
&& mkdir -p /opt/kubectl/$version \
Expand Down
4 changes: 2 additions & 2 deletions marketplace/deployer_helm_tiller_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.13.12 1.14.8 1.15.11 1.16.9 1.17.5 1.18.2; \
RUN for full_version in 1.15.12 1.16.15 1.17.14 1.18.12; \
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.17 /opt/kubectl/default

RUN mkdir -p /bin/helm-downloaded \
&& wget -q -O /bin/helm-downloaded/helm.tar.gz \
Expand Down

0 comments on commit 8e7c2bc

Please sign in to comment.