Skip to content

Commit

Permalink
Include k3d 3.0.0 in Skaffold image (#4545)
Browse files Browse the repository at this point in the history
Signed-off-by: David Gageot <david@gageot.net>
  • Loading branch information
dgageot authored Jul 23, 2020
1 parent 7721c87 commit fd77451
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/skaffold/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# This base image has to be updated manually after running `make build_deps`
FROM gcr.io/k8s-skaffold/build_deps:8061be2a8192708bf4c51bc4a5663fd6069184f2 as builder
FROM gcr.io/k8s-skaffold/build_deps:7fac02958b1f507ccf26be739694181fbfbb017f as builder
WORKDIR /skaffold
COPY . .

Expand Down
8 changes: 8 additions & 0 deletions deploy/skaffold/Dockerfile.deps
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ ENV KIND_URL https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VE
RUN wget -O kind "${KIND_URL}"
RUN chmod +x kind

# Download k3d
FROM alpine:3.10 as download-k3d
ENV K3D_VERSION v3.0.0
ENV K3D_URL https://github.com/rancher/k3d/releases/download/${K3D_VERSION}/k3d-linux-amd64
RUN wget -O k3d "${K3D_URL}"
RUN chmod +x k3d

# Download gcloud
FROM alpine:3.10 as download-gcloud
ENV GCLOUD_VERSION 276.0.0
Expand Down Expand Up @@ -84,6 +91,7 @@ COPY --from=download-container-structure-test container-structure-test /usr/loca
COPY --from=download-bazel bazel /usr/local/bin/
COPY --from=download-gcloud google-cloud-sdk/ /google-cloud-sdk/
COPY --from=download-kind kind /usr/local/bin/
COPY --from=download-k3d k3d /usr/local/bin/

# Finish installation of bazel
RUN bazel version
Expand Down

0 comments on commit fd77451

Please sign in to comment.