slim icon indicating copy to clipboard operation
slim copied to clipboard

Minified image doesn't retain the platform information from the original image

Open kcq opened this issue 4 years ago • 1 comments

From Fredrik Svensson on Slack:

I'm using multiarch/qemu-user-static to generate/run armhf images on an amd64 host. So the original image has platform=linux/arm/v7 but the generated image gets platform=linux/amd64. docker-slim works fine, the image is possible to run although docker complains the architecture is wrong when running on the armhf device. Is there some way to set platform for the image as you can do with docker build --platform=linux/arm/v7?

kcq avatar Aug 10 '21 18:08 kcq

Hi, @kcq

Any update here? We are having same issues as well! :)

openedhardware avatar Sep 22 '21 07:09 openedhardware