kvaps / kubectl-build

Build dockerfiles directly in your Kubernetes cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tar error on macos

jpambrun opened this issue · comments

On macos I get:

tar: Option --record-size=100K is not supported
Usage:
  List:    tar -tf <archive-filename>
  Extract: tar -xf <archive-filename>
  Create:  tar -cf <archive-filename> [filenames...]
  Help:    tar --help
❯ tar --version
bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.6

--checkpoint and --checkpoint-action are also unavailable.

Thank you for report!
If you remove these options, the rest code is working?

Not sure. The progress output is neat so I installed GNU tar from homebrew as a workaround.

OK then I guess yes, the only thing we need is to add check for tar version

fixed in v1.3.0, it would be nice if you could check with bsdtar on OSX

I just tested and it does work fine. However, you might end up looking at If you don't see a command prompt, try pressing enter. for a while which could be confusing. Perhaps tar -v would be best, but it could become noisy..