FROM qmxme/rust-builder:0.1.0 as builder ENV CARGO_INSTALL_ROOT /opt/rust-tools ADD . /cpubars RUN cargo install --path /cpubars FROM alpine:3.11 COPY --from=builder /opt/rust-tools/bin/* /opt/rust-tools/bin/