Skip to content

Commit

Permalink
Merge pull request leodotcloud#8 from leodotcloud/dev
Browse files Browse the repository at this point in the history
update kubectl versions
  • Loading branch information
leodotcloud authored Apr 3, 2020
2 parents 51761e7 + 011fa0d commit 72aa00f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .drone.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ steps:
from_secret: DOCKERHUB_PASSWORD
repo: leodotcloud/swiss-army-knife
dockerfile: package/Dockerfile
auto_tag: true
tags:
- latest
- ${DRONE_TAG}
when:
branch:
- master
Expand Down
8 changes: 4 additions & 4 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ RUN apt-get update && \
mv /usr/sbin/traceroute /usr/bin/traceroute && \
curl -sLf https://get.docker.com/builds/Linux/x86_64/docker-1.10.3 > /usr/bin/docker && \
chmod +x /usr/bin/docker && \
curl -sLf https://storage.googleapis.com/kubernetes-release/release/v1.12.7/bin/linux/amd64/kubectl > /usr/local/bin/kubectl-1.12 && \
curl -sLf https://storage.googleapis.com/kubernetes-release/release/v1.13.5/bin/linux/amd64/kubectl > /usr/local/bin/kubectl-1.13 && \
curl -sLf https://storage.googleapis.com/kubernetes-release/release/v1.14.1/bin/linux/amd64/kubectl > /usr/local/bin/kubectl-1.14 && \
curl -sLf https://storage.googleapis.com/kubernetes-release/release/v1.16.8/bin/linux/amd64/kubectl > /usr/local/bin/kubectl-1.16 && \
curl -sLf https://storage.googleapis.com/kubernetes-release/release/v1.17.4/bin/linux/amd64/kubectl > /usr/local/bin/kubectl-1.17 && \
curl -sLf https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl > /usr/local/bin/kubectl-1.18 && \
chmod +x /usr/local/bin/kubectl* && \
ln -s /usr/local/bin/kubectl-1.14 /usr/local/bin/kubectl && \
ln -s /usr/local/bin/kubectl-1.18 /usr/local/bin/kubectl && \
mkdir /root/.kube

ENV LOGLEVEL_TAG v0.1
Expand Down

0 comments on commit 72aa00f

Please sign in to comment.