. $SHARE/trashman/functions || exit 1
# Requirements
-trashman_require wget lsb-release apt-transport-https ca-certificates
+trashman_require wget lsb-release apt-transport-https ca-certificates
# Install
#wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
cp $SHARE/php7/unix/linux/debian /etc/apt/trusted.gpg.d/php.gpg
echo "deb https://packages.sury.org/php/ `lsb_release -sc` main" | tee /etc/apt/sources.list.d/php$VERSION.list
-apt update
-apt install php$VERSION
+trashman_apt_install php$VERSION
--- /dev/null
+#!/usr/bin/env sh
+#
+# Install Podman on Ubuntu
+# Adapted from https://podman.io/getting-started/installation
+#
+
+# Parameters
+SHARE="$1"
+VERSION="7.3"
+
+# Include basic functions
+. $SHARE/trashman/functions || exit 1
+
+# Load OS-related info
+. /etc/os-release || exit 1
+
+# Parse distro version
+VERSION="`echo $VERSION_ID | tr -d '.'`"
+
+# Only use packages from Kubic if on Ubuntu 20.04 or below
+if [ "$NAME" == "Ubuntu" ] && (($VERSION <= 2004)); then
+ echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
+ curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add -
+fi
+
+# Install podman
+trashman_apt_install podman
+
+# Docker compose
+#trashman_apt_install docker-compose
+#trashman_apt_install python3-pip
+#pip3 install podman-compose