-
Notifications
You must be signed in to change notification settings - Fork 121
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
2 changed files
with
24 additions
and
25 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ LABEL maintainer="[email protected]" | |
FROM --platform=$BUILDPLATFORM rust:1-bullseye as build | ||
ARG BUILDPLATFORM | ||
ARG TARGETPLATFORM | ||
ARG PROFILE | ||
ARG BUILDPROFILE | ||
|
||
RUN echo "DEBIAN_ARCH_TRIPLET='$(dpkg-architecture -A${TARGETPLATFORM#linux/} -qDEB_TARGET_MULTIARCH)'" >>/root/dynenv | ||
RUN . /root/dynenv && \ | ||
|
@@ -59,7 +59,7 @@ ARG chain="cord" | |
RUN set -x && \ | ||
cat /root/dynenv && \ | ||
. /root/dynenv && \ | ||
cargo build --locked $CARGO_OPTIONS $PROFILE --target "$RUST_ARCH_TRIPLET" && \ | ||
cargo build --locked $CARGO_OPTIONS $BUILDPROFILE --target "$RUST_ARCH_TRIPLET" && \ | ||
mkdir -p build && \ | ||
mv target/$RUST_ARCH_TRIPLET/$TARGET_FOLDER/cord build/ && \ | ||
|
||
|