#!/bin/bash
set -e
export DEBIAN_FRONTEND=noninteractive
apt update
apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://apt.infra.k.io/gpg.key' | gpg --yes --dearmor -o /usr/share/keyrings/krystal-apt-keyring.gpg
curl -1sLf 'https://apt.infra.k.io/sources.list' | tee /etc/apt/sources.list.d/krystal.list
apt update
