RPi-Distro / pi-gen

Tool used to create the official Raspberry Pi OS images
BSD 3-Clause "New" or "Revised" License
2.57k stars 1.61k forks source link

Remove binfmt misc deps from Docker build #681

Closed stefanb2 closed 1 year ago

stefanb2 commented 1 year ago

In Docker build binfmt_misc support is provided by the host, hence we do not need to install any of its dependencies inside the image.

DRY removal: now there is only on docker run command line to maintain in the script.

stefanb2 commented 1 year ago

No matter what I try, it seems docker build doesn't want to import a build argument value into an environment variable: the variable always ends up with an empty string. Maybe I'm just too blind to see a dumb typo in my code.

Shrug I guess then we just have to live with the unnecessary dependencies in the Docker image.