Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Klaus Ma <klausm@nvidia.com>
  • Loading branch information
k82cn committed Feb 2, 2025
1 parent 6b0cd1c commit dc55949
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name = "flame-client"
version = "0.3.0"
edition = "2021"

description = "The Rust client of Flame"
repository = "https://github.com/flame-sh/flame"
license-file = "../LICENSE.txt"
readme = "../README.md"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand Down
4 changes: 0 additions & 4 deletions docker/Dockerfile.console
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@ FROM rust:1.82-slim-bookworm as builder
WORKDIR /usr/src/flame
COPY . .
RUN apt-get update && apt-get install -y protobuf-compiler pkg-config libssl-dev
RUN cargo install --path ./examples/pi
RUN cargo install --path ./examples/matrix/client
RUN cargo install --path ./flmctl
RUN cargo install --path ./flmping

FROM ubuntu:22.04
RUN apt-get update && apt-get install -y wget vim iputils-ping ssh
COPY --from=builder /usr/local/cargo/bin/flmping /usr/local/bin/flmping
COPY --from=builder /usr/local/cargo/bin/flmctl /usr/local/bin/flmctl
COPY --from=builder /usr/local/cargo/bin/pi /usr/local/bin/pi
COPY --from=builder /usr/local/cargo/bin/matrix-client /usr/local/bin/matrix-client

CMD ["service", "ssh", "start", "-D"]

0 comments on commit dc55949

Please sign in to comment.