-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an url for latest version for easy Linux upgrade #4014
Comments
bash workaround: #!/bin/bash
# get latest version
LATEST=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/docker/compose/releases/latest)
VERSION=$(echo $LATEST | sed 's:.*/::')
echo Updating Docker Compose to $VERSION
# download
curl -L https://github.com/docker/compose/releases/download/$VERSION/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose version |
There are repos for Ubuntu/Debian at Could it be an idea to create an up-to-date EDIT: This idea is a duplicate of #2235. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@knutole, it's now possible. I don't think it was previously. This works:
|
This issue has been automatically marked as not stale anymore due to the recent activity. |
@aude solution works well |
I'd like to use a script to automatically upgrade
docker-compose
regularly. Currently, I can't find a static url withlatest
tag, and need to manually edit the1.8.0
tag.Could there be made available a
latest
tag for this purpose?The text was updated successfully, but these errors were encountered: