build_in_container.sh 375 Bytes
Newer Older
1 2 3 4
#!/bin/bash

set -ex

Merlijn Sebrechts's avatar
Merlijn Sebrechts committed
5
cd /workspace/snap
6 7 8 9 10 11 12 13 14 15 16 17 18 19

ping -c1 networkcheck.kde.org

apt-key adv --keyserver keyserver.ubuntu.com --recv E6D4736255751E5D
echo 'deb http://archive.neon.kde.org/unstable bionic main' > /etc/apt/sources.list.d/neon.list
apt update

snap install --edge --classic snapcraft

snapcraft --version
snapcraft --destructive-mode

mkdir -p result
mv *.snap result/