forked from eqlabs/pathfinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docker): remove OpenSSL from Docker build scripts
- Loading branch information
Showing
3 changed files
with
3 additions
and
9 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
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,15 +1,13 @@ | ||
#!/bin/bash -e | ||
if [[ "${TARGETARCH}" == "amd64" ]]; then | ||
apt-get update | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y pkg-config libssl-dev libzstd-dev protobuf-compiler make | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y pkg-config libzstd-dev protobuf-compiler make | ||
elif [[ "${TARGETARCH}" == "arm64" ]]; then | ||
echo "deb [arch=arm64] http://deb.debian.org/debian bookworm main" >>/etc/apt/sources.list | ||
apt-get update | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y pkg-config libssl-dev libzstd-dev protobuf-compiler gcc-aarch64-linux-gnu libc6-arm64-cross libc6-dev-arm64-cross make | ||
apt-get download libssl-dev:arm64 libssl3:arm64 libzstd-dev:arm64 | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y pkg-config libzstd-dev protobuf-compiler gcc-aarch64-linux-gnu libc6-arm64-cross libc6-dev-arm64-cross make | ||
apt-get download libzstd-dev:arm64 | ||
mkdir -p /build/sysroot | ||
dpkg -x libssl-dev_*.deb /build/sysroot/ | ||
dpkg -x libssl3_*.deb /build/sysroot/ | ||
dpkg -x libzstd-dev_*.deb /build/sysroot/ | ||
rustup target add aarch64-unknown-linux-gnu | ||
fi |