Skip to content
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 VERSION pinning to the installation script #62

Merged
merged 1 commit into from Feb 24, 2018

Conversation

seemethere
Copy link
Contributor

@seemethere seemethere commented Feb 23, 2018

Overview

VERSION pinning is something that people have been asking for, for a
while so this attempts to add that in.

Should work in most scenarios aside from incomplete VERSIONS.

IE: If you have the test channel enabled and try to install 17.12
for example, the script will instead try to install rc2 since that is
the latest VERSION in the results.

Should also work with nightly builds like pinning to a date, or a
specific git SHA

Relates to #61 as well as docker/machine#4091

Usage

Usage would be similar to CHANNEL pinning:

curl -fsSL get.docker.com | VERSION=17.12.0-ce sh

Signed-off-by: Eli Uriegas eli.uriegas@docker.com

@seemethere seemethere requested a review from a team February 23, 2018 23:15
@seemethere seemethere force-pushed the add_version_pinning branch 2 times, most recently from a974a1c to f453a99 Compare February 23, 2018 23:19
VERSION pinning is something that people have been asking for, for a
while so this attempts to add that in.

Should work in most scenarios aside from incomplete VERSIONS.

IE: If you have the `test` channel enabled and try to install `17.12`
for example, the script will instead try to install rc2 since that is
the latest VERSION in the results.

Should also work with nightly builds like pinning to a date, or a
specific git SHA

Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Copy link
Contributor

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants