Skip to content

Commit

Permalink
Add trailing slash to COPY command in Dockerfile
Browse files Browse the repository at this point in the history
.. so that Docker will not fail on it.
  • Loading branch information
MikeSpreitzer committed Sep 26, 2022
1 parent a5b6c21 commit d0a9a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN CGO_ENABLED=0 make
FROM alpine:3.15
WORKDIR /
COPY --from=builder workspace/bin/kcp-front-proxy workspace/bin/kcp workspace/bin/virtual-workspaces /
COPY --from=builder workspace/bin/kubectl-* /usr/local/bin
COPY --from=builder workspace/bin/kubectl-* /usr/local/bin/
RUN apk add --update curl && rm -rf /var/cache/apk/*
RUN curl -fL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/$(uname -m | sed 's/aarch.*/arm64/;s/armv8.*/arm64/;s/x86_64/amd64/')/kubectl"
RUN chmod +x /usr/local/bin/kubectl
Expand Down

0 comments on commit d0a9a79

Please sign in to comment.