Skip to content

Commit

Permalink
set CROSS_SYSROOT=/ to fix cross-rs openssl issue
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <[email protected]>
  • Loading branch information
rajatjindal committed Feb 29, 2024
1 parent 4cfbac6 commit a34ed42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cross/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM ghcr.io/cross-rs/aarch64-unknown-linux-musl@sha256:7ad32efcae37c178fed63da301ff982d2430f15fc7d39e6c0b28124e14fac394

## as per analysis done in https://github.com/fermyon/spin/pull/2287#issuecomment-1970145410 we need
## to disable the cmake config in cross-rs. Setting CROSS_SYSROOT=/ seems to have done the trick

ENV CROSS_SYSROOT=/

RUN --mount=type=bind,source=/,target=/polyfill /polyfill/polyfill.sh


0 comments on commit a34ed42

Please sign in to comment.