Was recently somewhat surprised that you can’t just copy a Rust executable into a ´scratch´ container and have it work, so this is a cool blog post to find in my RSS feed.
I’m guessing, if you’re doing something less complex, then you just need the ´musl´ target and the allocator…
0
Small and secure Docker images for Rust: Alpine vs Debian vs Scratch
Sylvain Kerkour
Small and secure Docker images for Rust: Alpine vs Debian vs Scratch
While Docker is now the main way to distribute backend software and CLI tools, you may be wondering how to build minimal and secure Docker images for your Rust projects.
kerkour.com
0 comments
log in to comment.