Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2019 (2)
20082026
  1. …[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
  2. …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
  3. …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…
  4. …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.)
  5. …For common libraries like OpenSSL and libpq, I have a Docker container that makes this easier: https://github.com/emk/rust-musl-builder