Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when executing the builder creation as described on create-a-builder #648

Open
andrashatvani opened this issue Jan 12, 2024 · 1 comment

Comments

@andrashatvani
Copy link

On Page: Create a builder

~/IdeaProjects/buildpack-samples on  main! ⌚ 16:12:08
$
pack builder create my-builder:jammy --config ./builder.toml
jammy: Pulling from cnbs/sample-base-run
Digest: sha256:360b4f1a793fbf2ab750e572a68b43a31fe3d01188745b1eef965c9a2a3742e3
Status: Image is up to date for cnbs/sample-base-run:jammy
jammy: Pulling from cnbs/sample-base-build
Digest: sha256:7d2744146e58be6788330243f1ce6ac65579605d87a5facbf1b1b42ee76055c8
Status: Image is up to date for cnbs/sample-base-build:jammy
ERROR: failed to add buildpacks to builder: downloading buildpack: extracting from registry samples/buildpacks/hello-processes: fetching image: image samples/buildpacks/hello-processes does not exist on the daemon: not found

And then, when I comment out hello-processes in both, the buildpacks and the orders, then I get the following error:

~/IdeaProjects/buildpack-samples on  main! ⌚ 16:13:13
$
pack builder create my-builder:jammy --config ./builder.toml
jammy: Pulling from cnbs/sample-base-run
Digest: sha256:360b4f1a793fbf2ab750e572a68b43a31fe3d01188745b1eef965c9a2a3742e3
Status: Image is up to date for cnbs/sample-base-run:jammy
jammy: Pulling from cnbs/sample-base-build
Digest: sha256:7d2744146e58be6788330243f1ce6ac65579605d87a5facbf1b1b42ee76055c8
Status: Image is up to date for cnbs/sample-base-build:jammy
hello-universe: Pulling from cnbs/sample-package
3b6556a21018: Download complete
16d07a055e86: Download complete
40ea37e36512: Download complete
Digest: sha256:ec152cd96246afa1376366e3224076cb47c82709d8a7b272ef1b7d7e3d81b1ae
Status: Downloaded newer image for cnbs/sample-package:hello-universe
ERROR: creating samples/[email protected] tar file at path /Volumes/ramdisk/X/create-builder-scratch1286101751/buildpack-0: archive/tar: invalid tar header
creating samples/[email protected] tar file at path /Volumes/ramdisk/X/create-builder-scratch1286101751/buildpack-1: archive/tar: invalid tar header
creating samples/[email protected] tar file at path /Volumes/ramdisk/X/create-builder-scratch1286101751/buildpack-2: archive/tar: invalid tar header

I'm on macOS 14.2.1.

@AidanDelaney
Copy link
Member

Do you find the same issue when running the build on Linux?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants