-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to latest debian Rust image. CMake on the old image was not compatible with the wiredtiger build. * Eliminate use of cargo watch, we don't need it anymore. * Change the build to only copy over the source we need instead of all of ./
- Loading branch information
Showing
2 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# Using official rust base image | ||
FROM rust:1.78-bullseye | ||
FROM rust:1.81-bookworm | ||
WORKDIR /moor | ||
RUN apt update | ||
RUN apt -y install clang libclang-dev swig python3-dev cmake | ||
RUN cargo install cargo-watch | ||
EXPOSE 8080 | ||
COPY ./ ./ | ||
COPY ./crates ./crates | ||
COPY ./Cargo.toml ./Cargo.toml | ||
COPY ./Cargo.lock ./Cargo.lock | ||
COPY ./JHCore-DEV-2.db ./JHCore-DEV-2.db | ||
RUN cargo build --all-targets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters