Up to image version 1.58, dash (/bin/sh) existed in the image allowing the use of cargo install commands.
Now with image 1.59 upwards, this:
FROM rust:1.60 AS chef
RUN cargo install cargo-chef
...
Results to:
...
[1/4] STEP 2/3: RUN cargo install cargo-chef
exec container process (missing dynamic library?) `/bin/sh`: No such file or directory
...
thus braking any container scripts relying on installing cargo plugins with cargo install in the base image
EDIT: I tried cross building also with --arch=arm64 and this seems to be an issue that also affects the arm64 images too, checked back to 1.56 (not working)
Up to image version 1.58, dash (/bin/sh) existed in the image allowing the use of
cargo install
commands. Now with image 1.59 upwards, this:Results to:
thus braking any container scripts relying on installing cargo plugins with
cargo install
in the base imageEDIT: I tried cross building also with --arch=arm64 and this seems to be an issue that also affects the arm64 images too, checked back to 1.56 (not working)