diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/trashman/docker-compose/info | 1 | ||||
-rwxr-xr-x | share/trashman/docker-compose/unix/linux/install | 14 | ||||
-rwxr-xr-x | share/trashman/docker/unix/linux/debian/install | 2 |
3 files changed, 16 insertions, 1 deletions
diff --git a/share/trashman/docker-compose/info b/share/trashman/docker-compose/info new file mode 100644 index 0000000..cfdfdea --- /dev/null +++ b/share/trashman/docker-compose/info @@ -0,0 +1 @@ +tool for defining and running multi-container Docker applications diff --git a/share/trashman/docker-compose/unix/linux/install b/share/trashman/docker-compose/unix/linux/install new file mode 100755 index 0000000..a9b10eb --- /dev/null +++ b/share/trashman/docker-compose/unix/linux/install @@ -0,0 +1,14 @@ +#!/usr/bin/env sh +# +# Install docker-compose system-wide. +# + +# Parameters +SHARE="$1" +VERSION="1.28.6" + +# Include basic functions +. $SHARE/trashman/functions || exit 1 + +# 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 diff --git a/share/trashman/docker/unix/linux/debian/install b/share/trashman/docker/unix/linux/debian/install index 55d8a13..c0c6d32 100755 --- a/share/trashman/docker/unix/linux/debian/install +++ b/share/trashman/docker/unix/linux/debian/install @@ -25,7 +25,7 @@ curl -fsSL https://download.docker.com/linux/$DISTRO/gpg | gpg --yes --dearmor - echo "deb [arch=$ARCH signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/$DISTRO $RELEASE stable" > /etc/apt/sources.list.d/docker.list # Update and install -apt-get update && trashman_apt_install docker-ce docker-compose || exit 1 +apt-get update && trashman_apt_install docker-ce || exit 1 # Additional info trashman_echo "Docker sucessfully installed." |