|
|
|
@ -52,18 +52,17 @@ case "$os" in |
|
|
|
|
fi |
|
|
|
|
__apt_key_uri docker --name "Docker Release (CE deb) <docker@docker.com>" \ |
|
|
|
|
--uri "https://download.docker.com/linux/${os}/gpg" --state "${state}" |
|
|
|
|
export CDIST_ORDER_DEPENDENCY=on |
|
|
|
|
__apt_source docker \ |
|
|
|
|
|
|
|
|
|
require="__apt_key_uri/docker" __apt_source docker \ |
|
|
|
|
--uri "https://download.docker.com/linux/${os}" \ |
|
|
|
|
--distribution "$(cat "$__global/explorer/lsb_codename")" \ |
|
|
|
|
--state "${state}" \ |
|
|
|
|
--component "stable" |
|
|
|
|
if [ "$version" != "latest" ]; then |
|
|
|
|
__package docker-ce --version "${version}" --state "${state}" |
|
|
|
|
require="__apt_source/docker" __package docker-ce --version "${version}" --state "${state}" |
|
|
|
|
else |
|
|
|
|
__package docker-ce --state "${state}" |
|
|
|
|
require="__apt_source/docker" __package docker-ce --state "${state}" |
|
|
|
|
fi |
|
|
|
|
unset CDIST_ORDER_DEPENDENCY |
|
|
|
|
;; |
|
|
|
|
*) |
|
|
|
|
echo "Your operating system ($os) is currently not supported by this type (${__type##*/})." >&2 |
|
|
|
|