#!/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