Skip to content

Commit

Permalink
updating scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatson committed Aug 27, 2024
1 parent 6411d29 commit 2f1bf3c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker/Dockerfile.xx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/git/db \
--target-dir "target/$(xx-cargo --print-target-triple)" \
--profile "${PROFILE_NAME}" \
--no-default-features --features rust-tls,webui && \
find /src/target -maxdepth 2 -type d && \
xx-verify --static "./target/$(xx-cargo --print-target-triple)/${PROFILE_FOLDER}/rqbit" && \
find /src/target -maxdepth 2 -type d && \
mv "./target/$(xx-cargo --print-target-triple)/${PROFILE_FOLDER}/rqbit" /bin/rqbit
find /src/target -maxdepth 4 -type d && \
export BIN="./target/$(xx-cargo --print-target-triple)/$(xx-cargo --print-target-triple)/${PROFILE_FOLDER}/rqbit"
xx-verify --static "${BIN}" && \
find /src/target -maxdepth 4 -type d && \
mv "${BIN} /bin/rqbit

FROM scratch

Expand Down

0 comments on commit 2f1bf3c

Please sign in to comment.