Skip to content

Commit

Permalink
Add kpt v1.0.0-alpha.2 to Skaffold image (#5825)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkubala committed May 12, 2021
1 parent 30f1b2e commit 2f3ed37
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:4952c2746b637e4243e5d49dc88f729ff1cf22c6 as builder
FROM gcr.io/k8s-skaffold/build_deps:45b0b2b2c59e1b381f5386d6c960dd87c3a3c9d8 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 @@ -34,6 +34,13 @@ ENV KUSTOMIZE_URL https://github.com/kubernetes-sigs/kustomize/releases/download
RUN wget -O kustomize.tar.gz "${KUSTOMIZE_URL}"
RUN tar -xvf kustomize.tar.gz

# Download kpt
FROM alpine:3.10 as download-kpt
ENV KPT_VERSION 1.0.0-alpha.2
ENV KPT_URL https://github.com/GoogleContainerTools/kpt/releases/download/v${KPT_VERSION}/kpt_linux_amd64
RUN wget -O kpt "${KPT_URL}"
RUN chmod +x kpt

# Download kompose
FROM alpine:3.10 as download-kompose
ENV KOMPOSE_VERSION v1.22.0
Expand Down Expand Up @@ -87,6 +94,7 @@ COPY --from=docker:19.03.13 /usr/local/bin/docker /usr/local/bin/
COPY --from=download-kubectl kubectl /usr/local/bin/
COPY --from=download-helm helm /usr/local/bin/
COPY --from=download-kustomize kustomize /usr/local/bin/
COPY --from=download-kpt kpt /usr/local/bin/
COPY --from=download-kompose kompose /usr/local/bin/
COPY --from=download-container-structure-test container-structure-test /usr/local/bin/
COPY --from=download-bazel bazel /usr/local/bin/
Expand Down

0 comments on commit 2f3ed37

Please sign in to comment.