diff options
author | Ebben Aries <slackbuilds@dscp.org> | 2023-07-31 08:24:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-31 08:24:19 +0700 |
commit | ee2e8fa0898b43339a7dffa757b555fad11d45a2 (patch) | |
tree | e7cea5f6d5a294c677a8c086a02e7fc4d8f7af00 /system/docker-compose/doinst.sh | |
parent | cff330686ee5f8c5b77a731f1a8f2263082c77a2 (diff) |
system/docker-compose: Added (Multi-container tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/docker-compose/doinst.sh')
-rw-r--r-- | system/docker-compose/doinst.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/docker-compose/doinst.sh b/system/docker-compose/doinst.sh new file mode 100644 index 0000000000000..93f283a072538 --- /dev/null +++ b/system/docker-compose/doinst.sh @@ -0,0 +1,8 @@ +# Install docker-compose to docker-cli global plugin directory +PLUGIN_DIR="/usr/libexec/docker/cli-plugins" + +if [ ! -d "$PLUGIN_DIR" ]; then + mkdir -p $PLUGIN_DIR +fi + +ln -s /usr/bin/docker-compose $PLUGIN_DIR/docker-compose |