mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 11:02:20 +00:00
fix: use linux-generic64 for OpenSSL on arm64 with musl-gcc
This commit is contained in:
parent
d1cbd20b83
commit
0b608fac7b
1 changed files with 2 additions and 3 deletions
|
|
@ -53,12 +53,11 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
|||
cd .. && \
|
||||
rm -rf openssl-$SSL_VER*; \
|
||||
elif [ "$TARGETARCH" = "arm64" ]; then \
|
||||
export CC=musl-gcc && \
|
||||
wget https://www.openssl.org/source/openssl-$SSL_VER.tar.gz && \
|
||||
tar -xzf openssl-$SSL_VER.tar.gz && \
|
||||
cd openssl-$SSL_VER && \
|
||||
./Configure no-shared no-async --prefix=/musl --openssldir=/musl/ssl linux-aarch64 && \
|
||||
make -j$(nproc) && \
|
||||
CC="musl-gcc -static" ./Configure no-shared no-async --prefix=/musl --openssldir=/musl/ssl linux-generic64 && \
|
||||
make -j$(nproc) CC="musl-gcc -static" && \
|
||||
make install_sw && \
|
||||
cd .. && \
|
||||
rm -rf openssl-$SSL_VER*; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue