Files
fex-bedrock-vanilla/build/setup-arm64
T

19 lines
539 B
Bash
Executable File

#!/bin/sh
set -eu
if [ "$TARGETARCH" = "arm64" ] ; then
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y debian-keyring
curl -L https://ryanfortner.github.io/box64-debs/box64.list -o /etc/apt/sources.list.d/box64.list
curl -L https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor | tee /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y \
"$BOX64_PACKAGE" \
libjemalloc2
apt-get clean
rm -rf /var/lib/apt/lists/*
fi