Commit e2043d18 authored by Emilien Macchi's avatar Emilien Macchi

Initiate first scripts

parent cfc8e7df
These scripts are running on a fresh Fedora 29 and demonstrate the new
container tools (Buildah, Podman, Skopeo).
trap cleanup EXIT
cleanup() {
podman rm -af 2> /dev/null
sudo podman rm -afa 2> /dev/null
rm -rf /var/lib/containers 2> /dev/null
rm -rf ~/.config/containers 2> /dev/null
source prepare
source cleanup
source $demo_magic_dir/
# Pre-run sanity checks
if [ ! -f /etc/fedora-release ];
echo "Container demos need to run on Fedora!"
exit 1
# Install packages needed for the demos
sudo dnf install -y git buildah podman skopeo
# Install demo-magic
export = demo_magic_dir=$(mktemp -d)
git clone $demo_magic_dir
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment