echo "deb [arch=amd64] http://security.ubuntu.com/ubuntu $DIST-security main restricted universe multiverse" >> /etc/apt/sources.list
env DEBIAN_FRONTEND=noninteractive apt-get update -y -o Acquire::Languages=none -o Acquire::Translation=none || true
env DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg
-
-curl -L https://dist.apache.org/repos/dist/dev/arrow/KEYS | apt-key add -
-add-apt-repository "deb [arch=amd64] https://apache.jfrog.io/artifactory/arrow/ubuntu $DIST main"
EOF
elif [[ "$ARCH" == "arm64" ]]; then
cat > $hookdir/D04install-updates-repo <<EOF
$SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
$SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save
- $SUDO rpm -import https://dist.apache.org/repos/dist/dev/arrow/KEYS
- $SUDO dnf config-manager --add-repo="https://apache.jfrog.io/artifactory/arrow/centos/${RELEASE}/x86_64"
fi
DIR=/tmp/install-deps.$$