mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
Merge pull request #428 from thaJeztah/remove_nightly_edge
remove code to handle nightly and edge channels
This commit is contained in:
2 files changed
+2
-11
No files matched your search
@@ -88,8 +88,6 @@ VERSION="${VERSION#v}"
|
||||
# The channel to install from:
|
||||
# * stable
|
||||
# * test
|
||||
# * edge (deprecated)
|
||||
# * nightly (deprecated)
|
||||
DEFAULT_CHANNEL_VALUE="stable"
|
||||
if [ -z "$CHANNEL" ]; then
|
||||
CHANNEL=$DEFAULT_CHANNEL_VALUE
|
||||
@@ -149,10 +147,6 @@ esac
|
||||
case "$CHANNEL" in
|
||||
stable|test)
|
||||
;;
|
||||
edge|nightly)
|
||||
>&2 echo "DEPRECATED: the $CHANNEL channel has been deprecated and is no longer supported by this script."
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
>&2 echo "unknown CHANNEL '$CHANNEL': use either stable or test."
|
||||
exit 1
|
||||
|
||||
+2
-5
@@ -26,7 +26,6 @@ STABLE_LATEST="27.0.3"
|
||||
# The channel to install from:
|
||||
# * test
|
||||
# * stable
|
||||
# * nightly (deprecated)
|
||||
DEFAULT_CHANNEL_VALUE="stable"
|
||||
if [ -z "$CHANNEL" ]; then
|
||||
CHANNEL=$DEFAULT_CHANNEL_VALUE
|
||||
@@ -48,11 +47,9 @@ case "$CHANNEL" in
|
||||
STATIC_RELEASE_URL="https://download.docker.com/linux/static/$CHANNEL/$(uname -m)/docker-${TEST_LATEST}.tgz"
|
||||
STATIC_RELEASE_ROOTLESS_URL="https://download.docker.com/linux/static/$CHANNEL/$(uname -m)/docker-rootless-extras-${TEST_LATEST}.tgz"
|
||||
;;
|
||||
"nightly")
|
||||
>&2 echo "DEPRECATED: the nightly channel has been deprecated and is no longer supported by this script."; exit 1
|
||||
;;
|
||||
*)
|
||||
>&2 echo "Aborting because of unknown CHANNEL \"$CHANNEL\". Set \$CHANNEL to either \"stable\" or \"test\"."; exit 1
|
||||
>&2 echo "Aborting because of unknown CHANNEL \"$CHANNEL\". Set \$CHANNEL to either \"stable\" or \"test\"."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in new issue
Block a user