Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
4cd600ea
Commit
4cd600ea
authored
Apr 08, 2021
by
Jay Ta'ala
Browse files
Added script that install latest docker-compose to $HOME/.local/bin
parent
afb4d19a
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/docker-compose-install-latest
0 → 100755
View file @
4cd600ea
#!/bin/bash
COMPOSE_VER
=
$(
curl
-s
https://api.github.com/repos/docker/compose/releases/latest |
grep
'tag_name'
|
cut
-d
\"
-f4
)
wget https://github.com/docker/compose/releases/download/
$COMPOSE_VER
/docker-compose-Linux-x86_64
-O
docker-compose
chmod
+x docker-compose
mv
docker-compose
$HOME
/local/bin
chmod
+x
$HOME
/.local/bin/docker-compose
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment