summaryrefslogtreecommitdiffstats
path: root/daemon/.packaging/ubuntu/20.04/pre-run.sh
blob: 75c32f8cb8186fcddb343441f83b5c7ca3f2091e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: GPL-3.0-or-later

# add build repository
apt-get update
apt-get install -y wget gnupg apt-utils

echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list
wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/xUbuntu_20.04/Release.key -O Release.key
apt-key add - < Release.key

apt-get update
apt-get upgrade -y