slim
slim copied to clipboard
Minified image doesn't retain the platform information from the original image
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?
Hi, @kcq
Any update here? We are having same issues as well! :)