FROM rust:alpine as builder # openssl not found -> openssl and openssl-dev # #include -> musl-dev RUN apk add musl-dev libressl-dev # --root dir: Directory to install packages into. RUN cargo install --root /build --bin httplz https FROM alpine COPY --from=builder /build/bin/httplz /bin/httplz