FROM alpine:latest RUN apk add --no-cache \ git \ rustup \ pkgconf \ clang \ libxkbcommon-dev \ libxkbcommon-static \ libudev-zero-dev \ openssl-dev \ openssl-libs-static RUN rustup-init -y ENV PATH "/root/.cargo/bin:${PATH}" RUN git clone https://github.com/faervan/bar-rs.git WORKDIR bar-rs RUN cargo add dbus RUN cargo build --release -F dbus/vendored ENTRYPOINT cp target/release/bar-rs /out