In order to install docker engine on Ubuntu from China mirror provided by
AzureChinaCloud and Aliyun if mirror option is present.
usage:
sh install --mirror AzureChinaCloud
sh install --mirror Aliyun
Without this change, the docker install will always fail on downloading
from global site due to network issue.
Signed-off-by: Hua Zhang <huazhan@microsoft.com>
Basically uses the jessie repo for raspbian stretch due to raspbian
jessie download links being taken off the official raspbian site.
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Ran into an issue with the jenkins build with archiving artifacts. Chose
to remedy this by naming all of the potential artifacts with the same
pattern
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Major Notes:
* Removes old raspbian cruft now that raspbian has a repo on
download.docker.com
* Adds a support matrix so that we can have an easier time updating
what architectures/distros we support
* Added support for s390x and aarch64
* Had to change add-apt-repository to an echo into a file, was not
functioning correctly on raspbian see moby/moby#31405
* Update testing pipeline for multiarch
* Removed deprecation warnings for raspbian
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
The install script won't be updated every single time a release is done
so it does not make sense to tie the verification jobs to specific
versions / git commits.
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
The script doesn't have official versions but I think it would be smart
to add a commit sha to the script so that when issues can be tracked to
a specific sha of the script.
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
.log files didn't work correctly when evaluating possible docker images
to run so I removed the suffix portion. Also made it easier to run for
specific distros ala:
`make DISTROS="fedora-25 fedora-24 centos-7" CHANNEL_TO_TEST=edge EXPECTED_VERSION="17.06.0-ce" EXPECTED_GITCOMMIT="02c1d87" clean check`
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Moved distribution checks to a function that just checks
`/etc/os-release` (which also fixes raspbian installation in
environments that do not have the lsb_release command).
Also shuffles around some TODO messages.
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
By executing `bash verify-docker-install`, the `bash -e` at the top of
the script is not honored. Should just execute the script straight-up
to use whatever `set` options are desired in the script.
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
Running install.sh inside docker container, receiving error message:
Failed to get D-Bus connection: Operation not permitted
Even though the rpm is successfully installed.
In rpm world, should not start systemd service after install of rpm
package if the service is not already started before install, which is
the case for first install of the package.
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>