-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
16 changed files
with
1,228 additions
and
463 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,13 +1,18 @@ | ||
FROM rust:1.64-bullseye as builder | ||
FROM rust:1.72-bullseye as builder | ||
COPY . /project | ||
RUN cd /project && cargo install --path uniffi-bindgen | ||
RUN cargo install uniffi-bindgen-cs --tag v0.4.0+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-cs | ||
RUN cargo install uniffi-bindgen-go --tag v0.1.5+v0.23.0 --git https://github.com/NordSecurity/uniffi-bindgen-go | ||
|
||
FROM debian:bullseye | ||
# Download crates.io index, saves time if subsequent steps change | ||
RUN cargo search --limit 0 | ||
|
||
RUN cd /project && cargo install --path uniffi-bindgen | ||
RUN cargo install uniffi-bindgen-cs --tag v0.7.0+v0.25.0 --git https://github.com/NordSecurity/uniffi-bindgen-cs | ||
RUN cargo install uniffi-bindgen-go --tag v0.2.0+v0.25.0 --git https://github.com/NordSecurity/uniffi-bindgen-go | ||
RUN cargo install uniffi-bindgen-cpp --tag v0.1.0+v0.25.0 --git https://github.com/NordSecurity/uniffi-bindgen-cpp | ||
|
||
FROM rust:1.72-bullseye | ||
COPY --from=builder /usr/local/cargo/bin/uniffi-bindgen /bin | ||
COPY --from=builder /usr/local/cargo/bin/uniffi-bindgen-cs /bin | ||
COPY --from=builder /usr/local/cargo/bin/uniffi-bindgen-go /bin | ||
COPY --from=builder /usr/local/cargo/bin/uniffi-bindgen-cpp /bin | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends python3 && apt-get clean && rm -rf /var/lib/apt/lists/* |
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
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
Oops, something went wrong.