From c7c134af0e28b1a367b87308e770cc145614cc0f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 27 Dec 2021 16:52:54 -0300 Subject: Fix: docker, docker-compose: adds missing requirement: curl --- share/trashman/docker-compose/unix/linux/install | 3 +++ share/trashman/docker/unix/linux/debian/install | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/trashman/docker-compose/unix/linux/install b/share/trashman/docker-compose/unix/linux/install index cd3a2b9..0ee5d81 100755 --- a/share/trashman/docker-compose/unix/linux/install +++ b/share/trashman/docker-compose/unix/linux/install @@ -11,6 +11,9 @@ VERSION="1.28.6" # Include basic functions . $SHARE/trashman/functions || exit 1 +# Install requirements +apt-get update && trashman_apt_install curl + # One-liner install curl -L "https://github.com/docker/compose/releases/download/$VERSION/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose diff --git a/share/trashman/docker/unix/linux/debian/install b/share/trashman/docker/unix/linux/debian/install index df87123..c82e136 100755 --- a/share/trashman/docker/unix/linux/debian/install +++ b/share/trashman/docker/unix/linux/debian/install @@ -16,7 +16,7 @@ ARCH="`trashman_debian_arch`" RELEASE="`trashman_distro_release`" # Install requirements -apt-get update && trashman_apt_install apt-transport-https +apt-get update && trashman_apt_install curl apt-transport-https # Install pubkey #trashman_install_apt_key $SHARE/docker/unix/linux/$DISTRO/pubkey.gpg docker.gpg -- cgit v1.2.3