-
Notifications
You must be signed in to change notification settings - Fork 899
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35b25f4
commit 0b819b0
Showing
4 changed files
with
24 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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# Then copy the run.sh script to the ./run.sh file | ||
|
||
# First stage: Build the Rust project | ||
FROM rust:1.80.1-bookworm AS builder | ||
FROM rust:1.83-bookworm AS builder | ||
|
||
# Install required dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
|
@@ -16,7 +16,8 @@ RUN apt-get update && apt-get install -y \ | |
|
||
# Build cozo-ce-bin from crates.io | ||
WORKDIR /usr/src | ||
RUN cargo install [email protected] --features "requests graph-algo storage-new-rocksdb storage-sqlite jemalloc io-uring malloc-usable-size" | ||
# RUN cargo install [email protected] --features "requests graph-algo storage-new-rocksdb storage-sqlite jemalloc io-uring malloc-usable-size" | ||
RUN cargo install --git https://github.com/cozo-community/cozo.git --branch f/publish-crate --rev 592f49b --profile release -F graph-algo -F jemalloc -F io-uring -F storage-new-rocksdb -F malloc-usable-size --target x86_64-unknown-linux-gnu cozo-ce-bin | ||
|
||
# Copy the built binary to /usr/local/bin | ||
RUN cp /usr/local/cargo/bin/cozo-ce-bin /usr/local/bin/cozo | ||
|
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
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