File size: 514 Bytes
c08e495 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/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"
apt-get clean
rm -rf /var/lib/apt/lists/*
fi |