chainguard-images / images

Public Chainguard Images
https://chainguard.dev/chainguard-images
Apache License 2.0
529 stars 134 forks source link

[node] Please provide an arm64 image #95

Closed SeanReece closed 1 year ago

SeanReece commented 1 year ago

Description

Development using cgr.dev/chainguard/node on a MacBook m1 is difficult since an arm64 image is not available. I can add --platform linux/amd64 to build an image using Rosetta emulation but this makes the build MUCH slower.

Using FROM node:18-alpine

image

Using FROM cgr.dev/chainguard/node:18

image
rawlingsj commented 1 year ago

Agreed :) This is being worked on. There's a related issue in wolfi https://github.com/wolfi-dev/os/issues/143. We're hoping to have arm images soon!

SeanReece commented 1 year ago

@rawlingsj Awesome, thanks! I submitted a PR but sounds like you've got it covered and my change wouldn't work anyways. 😄

imjasonh commented 1 year ago

This was done in https://github.com/chainguard-images/images/pull/146