feat: snapshot Linux-first RMM MVP and pause handover
Rust development slice / linux (push) Failing after 1m10s
Rust development slice / linux (push) Failing after 1m10s
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
FROM rust:1.99.1-bookworm AS build
|
||||
WORKDIR /src
|
||||
COPY Cargo.toml Cargo.lock rust-toolchain.toml ./
|
||||
COPY crates ./crates
|
||||
COPY migrations ./migrations
|
||||
COPY tools/apt-transaction/apt_transaction.py tools/apt-transaction/hook ./tools/apt-transaction/
|
||||
COPY deploy/linux/rmm-apt-helper.service ./deploy/linux/rmm-apt-helper.service
|
||||
RUN cargo build --locked --release -p rmm-server -p rmm-agent
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libssl3 ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=build /src/target/release/rmm-server /usr/local/bin/rmm-server
|
||||
COPY --from=build /src/target/release/rmm-agent /usr/local/bin/rmm-agent
|
||||
USER 65532:65532
|
||||
ENTRYPOINT ["/usr/local/bin/rmm-server"]
|
||||
Reference in New Issue
Block a user