vmware-archive / buildkit-cli-for-kubectl

BuildKit CLI for kubectl is a tool for building container images with your Kubernetes cluster
Other
499 stars 41 forks source link

No such file or directory when trying to run "kubectl build" #143

Open davidpanic opened 1 year ago

davidpanic commented 1 year ago

What steps did you take and what happened

When running kubectl build --help Error: no such file or directory is printed and the command exits with the status code 1.

What did you expect to happen

I expected to be able to run the command

Environment Details:

Reproducible with this Dockerfile:

FROM alpine:edge

RUN apk add curl kubectl
RUN curl -L https://github.com/vmware-tanzu/buildkit-cli-for-kubectl/releases/download/v0.1.6/linux-v0.1.6.tgz | tar -C /usr/local/bin -zxvf -

Run the following to try it out:

Output:

NAME           STATUS   ROLES           AGE   VERSION
[REDACTED]-1   Ready    control-plane   29d   v1.27.1
[REDACTED]-2   Ready    control-plane   29d   v1.27.1
[REDACTED]-3   Ready    control-plane   28h   v1.27.1
===
Error: no such file or directory

Vote on this request

This is an invitation to the community to vote on issues. Use the "smiley face" up to the right of this comment to vote.

kingatlas commented 10 months ago

@davidpanic I'm facing the same issue, running from an alpine container. Did you find a workaround for that?

davidpanic commented 10 months ago

Did you find a workaround for that?

Nope, I could never get it to work.