matrix-meshtastic-bridge/Containerfile
Renovate Bot b6f51299f7
All checks were successful
/ build-container (push) Successful in 6m2s
Update rust Docker tag to v1.82
2024-10-22 23:27:51 +00:00

11 lines
416 B
Docker

FROM library/rust:1.82 AS build
# not clear what this is used for
RUN apt-get update && apt-get install -y libdbus-1-dev pkg-config
COPY . /src
WORKDIR /src
RUN cargo build --release
FROM debian:12
RUN apt-get update && apt-get install -y libssl3 ca-certificates && rm -rf /var/lib/apt/lists
COPY --from=build /src/target/release/matrix-meshtastic-bridge /matrix-meshtastic-bridge
CMD ["/matrix-meshtastic-bridge"]