Commit Graph
99 Commits
Author SHA1 Message Date
Eli Uriegas b9bd4a50ff Make the jenkinsfile able to test both channels
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-19 16:06:04 -07:00
Eli Uriegas 86f3d56754 Merge pull request #2 from seemethere/make_test_channel_env_variable
Make test channel configurable by env variable
2017-06-19 15:55:53 -07:00
Eli Uriegas 32dae208ce Make test channel configurable by env variable
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-19 15:53:29 -07:00
Andrew Hsu 868abfe960 Merge pull request #1 from seemethere/add_1706_changes
Adds support for download.docker.com
2017-06-16 15:58:12 -07:00
Eli Uriegas 4dda1740e9 Add ways to test other channels
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-16 15:35:49 -07:00
Eli Uriegas 2f99a64478 Add gitignore for logs
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-16 13:44:41 -07:00
Eli Uriegas de9757bd6b Add testing infrastructure
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-16 13:44:32 -07:00
Eli Uriegas 87d90102ff Initial commit for 17.06 changes
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2017-06-16 13:34:05 -07:00
Steve Desmond 8b86f99c9e From docker/docker - make it clearer which packages to install for AUFS support
Signed-off-by: Steve Desmond <steve@vtsv.ca>
2017-06-16 11:53:39 -07:00
Tabakhase 67ca42d533 From docker/docker - Fix install.sh of get.docker.com for debian-sudo
repair sudo call on key-add for install / https://get.docker.com/

fix #32424

Signed-off-by: Tabakhase <github@tabakhase.com>
2017-06-16 11:53:39 -07:00
hyzhou.zhy 61ac0989b9 From docker/docker - Add Aliyun mirror support to hack/install.sh
Signed-off-by: hyzhou.zhy <hyzhou.zhy@alibaba-inc.com>
2017-06-16 11:53:39 -07:00
Victor Vieux 1227f628e6 From docker/docker - install: map debian_version 9.X to debian stretch without lsb_release
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-06-16 11:53:39 -07:00
Sebastiaan van Stijn fc65b226b8 From docker/docker - install dirmngr if needed
as of Ubuntu Yakkety, dirmngr is now in a separate
package (see https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1634464)

this patch updates the install script to install
the dirmngr package if it's not installed.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-16 11:53:39 -07:00
Felix Abecassis 4d66d3f320 From docker/docker - install: map debian_version 9.X to debian stretch
Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
2017-06-16 11:53:39 -07:00
Christopher Jones 3fef86015f From docker/docker - add suggestions in failure message in install script
Adds suggestions to where you can install docker in the case
that the install script fails to install because of the architecture
not being officially supported.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-06-16 11:53:39 -07:00
Eric Curtin bb82a65659 From docker/docker - Add warning on docker group suggestion
Signed-off-by: Eric Curtin <ericcurtin17@gmail.com>
2017-06-16 11:53:39 -07:00
Justin Cormack e81e8dfebb From docker/docker - Do not use keyservers to fetch GPG keys for apt
The keyserver infrastructure is unreliable, and just adds another point
of failure without adding any security. Instead, commit the key used at
build time for ZFS to the repo, and inline our signing key into the
install script rather than just its fingerprint.

fix #28510
fix #13555

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-06-16 11:53:39 -07:00
Sebastiaan van Stijn 88b2df8207 From docker/docker - remove unsupported distros from install script
The install script currently includes some
distros that we don't actually have packages
for.

For these distros, the script currently
performs step to install Docker from
the distro's repository.

This patch removes those distros from
the install script, because we have no
control over these packages, and cannot
provide support for them.

Installing docker anyway will give the
false impression that they installed
a package from our repository (but they
didn't), and that they need to contact
us for support.

It's better to tell people that we don't
install in that case, and refer them to
the installation documentation, or the
documentation of their distro.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-16 11:53:39 -07:00
Christopher Jones aa60663a94 From docker/docker - Fix install script for multiarch
The current check for uname -m just looks for *64 which hits a lot
more cases than it should (mips for ex), and ignores a few that it shouldn't.

This check will run the install script if on a supported architecture
(x86_64 or amd64) or an unofficial one with a docker repository
(armv6l or armv7l) and will give a more accurate error on an unofficial
64-bit architecture that isn't in the docker repository.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-06-16 11:53:39 -07:00
Liz Zhang 7c4d89878c From docker/docker - Use the mirror in China for Azure China environment
Signed-off-by: Liz Zhang <lizzha@microsoft.com>

Use the mirror in China for Azure China environment

Signed-off-by: Liz Zhang <lizzha@microsoft.com>

Update option name to --mirror

Signed-off-by: Liz Zhang <lizzha@microsoft.com>

Update indent and change variable name

Signed-off-by: Liz Zhang <lizzha@microsoft.com>
2017-06-16 11:53:39 -07:00
Tibor Vass f85ee8bfe1 From docker/docker - install: fix debian stretch
Apparently, Debian stretch does not come with gpg installed by
default. This patch ensures that gpg is installed.

Signed-off-by: Tibor Vass <tibor@docker.com>
2017-06-16 11:53:39 -07:00
Bilal Amarni 4ff4ccc823 From docker/docker - Remove systemd drop-in file on raspbian
It makes systemd integration less intrusive, notably needed for
docker machine (cf. https://github.com/docker/machine/pull/3605).

The default storage driver would now be devicemapper, until the
deb package is updated.

Signed-off-by: Bilal Amarni <bilal.amarni@gmail.com>
2017-06-16 11:53:39 -07:00
Fabio Rapposelli 4440a7f346 From docker/docker - Add rpm builder for VMware Photon OS
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2017-06-16 11:53:39 -07:00
Nick DeCoursin 97df431e43 From docker/docker - Update apparmor error message
Signed-off-by: decoursin <n.decoursin@foodpanda.com>
2017-06-16 11:53:39 -07:00
Dieter Reuter 685f4e4450 From docker/docker - Improve systemd config for Raspbian
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
2017-06-16 11:53:39 -07:00
Dieter Reuter db27182ba4 From docker/docker - Fix typo in comment
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
2017-06-16 11:53:39 -07:00
Dieter Reuter c851c982df From docker/docker - Add a Raspbian specific systemd unit file, use overlay by default
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
2017-06-16 11:53:39 -07:00
Dieter Reuter a60650b9e1 From docker/docker - Add support to install Docker on raspbian/jessie
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
2017-06-16 11:53:39 -07:00
Adam Kunk e11dc8dc31 From docker/docker - updates to fix install script for RHEL
fixing install script for rhel7

fixing install script for rhel7

Signed-off-by: Adam Kunk <adam.kunk@tiaa-cref.org>

updates to fix install script for RHEL

fixing install script for rhel7

fixing install script for rhel7

Signed-off-by: Adam Kunk <adam.kunk@tiaa-cref.org>
2017-06-16 11:53:39 -07:00
Sebastiaan van Stijn 21d8edb268 From docker/docker - Fix installation script for RHEL
the previous fix changed the lsb_dist variable
too early. We only normalize to "centos"
for the repository-location, so changing
it just before that.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-16 11:53:39 -07:00
Ken Cochrane f09147a6b3 From docker/docker - Fixed issue #23787 install script not working for RHEL7 host
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
2017-06-16 11:53:39 -07:00
Dimitris Rozakis 5427827fa8 From docker/docker - Escape brackets in hack/install.sh
Fixes #23260

Signed-off-by: Dimitris Rozakis <dimrozakis@gmail.com>
2017-06-16 11:53:39 -07:00
Ken Cochrane e56373993e From docker/docker - Fix issues with get.docker.com install script with redhat fixes #23101
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
2017-06-16 11:53:39 -07:00
Tibor Vass a25b9721d0 From docker/docker - Fix release scripts
Add some missing dependencies in the Dockerfile:
- apt-utils for apt-ftparchive.conf
- bsdmainutils for our use of the column command in
  hack/make/generate-index-listing

We also ensure that the docker daemon is started before calling
release-deb or release-rpm, since .detect-daemon-osarch, which is sourced
in each of them, requires the daemon to be running.

This commit also gets completely rid of s3cmd and fixes references to
AWS_* environment variables (changing from AWS_ACCESS_KEY to
AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to AWS_SECRET_ACCESS_KEY) in order
to please awscli. Also AWS_DEFAULT_REGION is now important to specify,
the default has been set to the region used by get.docker.com and
test.docker.com.

Signed-off-by: Tibor Vass <tibor@docker.com>
2017-06-16 11:53:39 -07:00
Mike Dougherty 2732cdf650 From docker/docker - Use multiple keyservers in install script
This improves on an earlier change by adding another keyserver and using a for loop instead of duplicating the command

Signed-off-by: Mike Dougherty <mike.dougherty@docker.com>
2017-06-16 11:53:39 -07:00
Frederick F. Kautz IV 3701606edc From docker/docker - Adding backup key server in install script
Signed-off-by: Frederick F. Kautz IV <fkautz@redhat.com>
2017-06-16 11:53:39 -07:00
Stefan Staudenmeyer ede637c47d From docker/docker - Use grep -qE instead of egrep which is deprecated.
Signed-off-by: Stefan Staudenmeyer <doerte@instana.com>
2017-06-16 11:53:39 -07:00
Stefan Staudenmeyer 760cd763eb From docker/docker - Grep for installed AND held packages.
Signed-off-by: Stefan Staudenmeyer <doerte@instana.com>
2017-06-16 11:53:39 -07:00
Mike Dougherty 2e5137bfab From docker/docker - Create a bundle for the install script to support other domains
For the CS Engine we need to have an install script like OSS does, but
the locations are all different, as is the GPG key used. This is
accomplished here by slightly altering the script itself and adding a
simple 'sed' based bundle for make.sh.

This install script is used in to change the URLs instead of sed in
release.sh.

Signed-off-by: Mike Dougherty <mike.dougherty@docker.com>
2017-06-16 11:53:39 -07:00
Jessica Frazelle 451d82b228 From docker/docker - add warning if upgrading via script to migrate
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2017-06-16 11:53:39 -07:00
Sebastiaan van Stijn 92c1913e62 From docker/docker - Add -f flag to cURL install instructions
From the -f description:

(HTTP) Fail silently (no output at all) on server errors. This is mostly done
to better enable scripts etc to better deal with failed attempts. In normal
cases when an HTTP server fails to deliver a document, it returns an HTML
document stating so (which often also describes why and more). This flag will
prevent curl from outputting that and return error 22.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-16 11:53:39 -07:00
Jessica Frazelle 493940e247 From docker/docker - fix install script for ubuntu trusty
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2017-06-16 11:53:39 -07:00
Brian Torres-Gil 0d625b0f55 From docker/docker - Add support for installation on Kali Linux 2.0
Signed-off-by: Brian Torres-Gil <btorres-gil@paloaltonetworks.com>
2017-06-16 11:53:39 -07:00
Martin Kelly cf777ffc0d From docker/docker - install.sh: fix for multiarch deb/ubuntu
Currently, the Docker repos will trigger apt-get errors on a
multiarch-configured deb system because the repos don't contain all
architectures. For example, on a multiarch system supporting amd64 and
armhf, apt-get will look for armhf Docker packages, fail to find them,
and error out.

Fix this by qualifying the repo line with the currently active
architecture.

This fixes issue #18207.

Signed-off-by: Martin Kelly <martin@surround.io>
2017-06-16 11:53:39 -07:00
Jessica Frazelle 3a9641bca7 From docker/docker - update debs/rpms for pkcs11 yubikey things
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2017-06-16 11:53:39 -07:00
Paolo G. Giarrusso 9476abea77 From docker/docker - Fix link to installation instructions
Fix #17872:

> The script at https://get.docker.com/ links to https://docs.docker.com/en/latest/installation/, which gives a 404 error. The correct link is https://docs.docker.com/engine/installation/.

Signed-off-by: Paolo G. Giarrusso <p.giarrusso@gmail.com>
2017-06-16 11:53:39 -07:00
Dan Levy 046f800578 From docker/docker - Try me now, no linuxmint mentions needed
Signed-off-by: Dan Levy <dan@danlevy.net>
2017-06-16 11:53:39 -07:00
Flavio Castelli faca78d48d From docker/docker - Update SUSE/openSUSE installation script
Fix installation on SUSE Linux Enterprise machine, the updated Docker RPMs have
been moved to a different location.

Update both openSUSE and SUSE Linux Enterprise scripts to allow the
installation of experimental builds.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
2017-06-16 11:53:39 -07:00
Jessica Frazelle fada1dce3e From docker/docker - fix oracle linux install
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2017-06-16 11:53:39 -07:00
Ben Hall 8582b5a9ab From docker/docker - Fix install.sh to handle non-zero exit codes when checking lsb_release
Signed-off-by: Ben Hall <ben@benhall.me.uk>
2017-06-16 11:53:39 -07:00