emk/rust-musl-builder
View on GitHub ↗ ★ 1,590 Dockerfile
Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
5 mentions on Hacker News by 2 people: 0 stories, 5 comments · first 2017-09-27 · latest 2020-10-14
20082026
-
…[0] is useful for getting Rust binaries to run on the `static` instead of `cc` base image. [0] https://github.com/emk/rust-musl-builder
comment by _nhynes · 2020-10-14 · in Dockerfile Security Best Practices -
…musl-libc. (If you also need to statically link OpenSSL or a few other common libraries, I maintain https://github.com/emk/rust-musl-builder , and there's at least one similar image out there.)
comment by ekidd · 2020-05-03 · in Making Rust as Fast as Go -
…of stuff we've built in Rust at work: 1. Lots of little CLI tools, statically linked using https://github.com/emk/rust-musl-builder . These are fast, portable, easy to share, and easy to add to Docker containers. For a fun open source…
comment by ekidd · 2019-02-10 · in John Carmack: writing Rust code feels wholesome -
…I maintain a Docker image with the necessary C toolchains, and instructions on how to use it: https://github.com/emk/rust-musl-builder . There are a couple of similar images out there, too, I think.)
comment by ekidd · 2019-01-09 · in Thoughts on Rust, a few thousand lines in -
…For common libraries like OpenSSL and libpq, I have a Docker container that makes this easier: https://github.com/emk/rust-musl-builder
comment by ekidd · 2017-09-27 · in Chrome OS KVM - A component written in Rust