summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/ubuntu_setup.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-03-22 09:44:03 -0400
committerChris Evich <cevich@redhat.com>2019-05-21 08:44:02 -0400
commitc4d9b03f7800e37df0a8821b450932700aac3c5d (patch)
tree92c6d1478d0bb15cc5944c4d9e2fe25aaa003c08 /contrib/cirrus/packer/ubuntu_setup.sh
parent51a95e6ef1b4616f308d0a7a5507c2ece74a9f0f (diff)
downloadpodman-c4d9b03f7800e37df0a8821b450932700aac3c5d.tar.gz
podman-c4d9b03f7800e37df0a8821b450932700aac3c5d.tar.bz2
podman-c4d9b03f7800e37df0a8821b450932700aac3c5d.zip
Cirrus: Overhaul/Simplify env. var setup
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/ubuntu_setup.sh')
-rw-r--r--contrib/cirrus/packer/ubuntu_setup.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/contrib/cirrus/packer/ubuntu_setup.sh b/contrib/cirrus/packer/ubuntu_setup.sh
index d02b71e12..45a987df0 100644
--- a/contrib/cirrus/packer/ubuntu_setup.sh
+++ b/contrib/cirrus/packer/ubuntu_setup.sh
@@ -8,7 +8,7 @@ set -e
# Load in library (copied by packer, before this script was run)
source /tmp/libpod/$SCRIPT_BASE/lib.sh
-req_env_var SCRIPT_BASE CNI_COMMIT CRIO_COMMIT CRIU_COMMIT RUNC_COMMIT
+req_env_var SCRIPT_BASE CNI_COMMIT CRIO_COMMIT CRIU_COMMIT
install_ooe
@@ -26,6 +26,8 @@ ooe.sh sudo -E apt-get -qq install software-properties-common
# Required to have Go 1.11 on Ubuntu 18.0.4
ooe.sh sudo -E add-apt-repository --yes ppa:longsleep/golang-backports
+ooe.sh sudo -E add-apt-repository --yes ppa:projectatomic/ppa
+ooe.sh sudo -E add-apt-repository --yes ppa:criu/ppa
ooe.sh sudo -E apt-get -qq update || sudo -E apt-get -qq update
ooe.sh sudo -E apt-get -qq install \
@@ -36,6 +38,8 @@ ooe.sh sudo -E apt-get -qq install \
bison \
btrfs-tools \
build-essential \
+ cri-o-runc \
+ criu \
curl \
e2fslibs-dev \
emacs-nox \
@@ -92,20 +96,15 @@ ooe.sh sudo update-grub
install_conmon
-install_runc
-
-install_criu
-
install_cni_plugins
install_buildah
-install_packer_copied_files
-
sudo /tmp/libpod/hack/install_catatonit.sh
install_varlink
+sudo mkdir -p /etc/containers
sudo curl https://raw.githubusercontent.com/projectatomic/registries/master/registries.fedora\
-o /etc/containers/registries.conf