dashaun / paketo-arm64

Tools and instructions for creating a Paketo builder for ARM64
https://youtu.be/BuqNJl4QrUw
92 stars 7 forks source link

Paketo Java buildpack now supports frontends and includes `yarn` and `node-engine` buildpacks #7

Closed dashaun closed 1 year ago

dashaun commented 1 year ago

See also: https://github.com/paketo-buildpacks/yarn/issues/359

"not working"

dashaun commented 1 year ago

Making progress, but this is where I'm stuck now:

********Building paketo-buildpacks/java from /Users/dashaun/fun/dashaun/paketo-arm64/scripts/buildpacks/paketo-buildpacks/java
ERROR: packaging dependencies (uri=docker://gcr.io/paketo-buildpacks/yarn:1.1.5,image=): extracting from registry docker://gcr.io/paketo-buildpacks/yarn:1.1.5: extracting buildpacks from gcr.io/paketo-buildpacks/yarn:1.1.5: could not find label io.buildpacks.buildpackage.metadata

Extracting buildpacks

"could not find label io.buildpacks.buildpackage.metadata"

CC @dmikusa @ThomasVitale

dmikusa commented 1 year ago

~@dashaun try switching to docker.io/paketo-buildpacks/yarn. I don't believe that team publishes to gcr anymore.~

Scratch that. They are still there.

dashaun commented 1 year ago

The yarn and node-engine scripts don't know how to pull down an ARM64 version of jam at the moment. So I have a little more work to do.

dashaun commented 1 year ago

I got over the missing label, after rubber-ducking the issue with @dmikusa

My problem using docker import instead of pack

dashaun commented 1 year ago

You might not believe this, but jam now has ARM64 releases, as of today!

dashaun commented 1 year ago

I'm going to close this one, but still need to test and validate the yarn and node-engine buildpacks.

However, this buildpack now works with existing test cases, so closing.