SHA256
1
0
forked from pool/docker
Commit Graph

113 Commits

Author SHA256 Message Date
Christian Brauner
a6db502979 Accepting request 421769 from home:jordimassaguerpla:branch:Vc:add_version_unconverted_back
add back version_unconverted

OBS-URL: https://build.opensuse.org/request/show/421769
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=129
2016-08-24 15:02:56 +00:00
Christian Brauner
214db3dee3 Accepting request 421577 from home:jordimassaguerpla:branch:V:c:add_go_arches_in_prjconf
- add go_arches in project configuration: this way, we can use the
  same spec file but decide in the project configuration if to
  use gc-go or gcc-go for some archs.

OBS-URL: https://build.opensuse.org/request/show/421577
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=128
2016-08-24 12:33:39 +00:00
Christian Brauner
d470da093f Accepting request 421307 from Virtualization:containers:1.12-RC
- use gcc6-go instead of gcc5-go (bsc#988408) 
- build ppc64le with gc-go because this version builds with gc-go 1.6
- remove bnc964673-boltdb-metadata-recovery.patch because it has already
  been merged

- update to v1.12.0 (bsc#995058)
  see detailed changelog at
    https://github.com/docker/docker/releases/tag/v1.12.0
- disable test that fail in obs build context
- only run unit tests on architectures that provide the go list and go test
  tools
- disable dockerd, parser, integration test, and devicemapper related tests
  on versions below SLE12 and openSUSE_13.2
- bump test timeout to 10m (for aarch64)
- run unit tests during the build
- Adapt docker.service file.
- adapt install sections for gccgo builds: gccgo build are not built in separate
  folders for client and daemon. They both reside in dyngccgo.
- gcc-go-patch: link against systemd when compiling the daemon.
- Add disable-pprof-trace.patch
  pprof.Trace() is not available in go version <= 1.4 which we use to build SLES
  packages. This patch comments out the pprof.Trace() section.
- update gcc-go-patch and docker-mount-secrets.patch

- Fixed binary split, install both required binaries correctly

OBS-URL: https://build.opensuse.org/request/show/421307
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=127
2016-08-23 14:44:42 +00:00
Christian Brauner
031a7bc93c Accepting request 419583 from home:cyphar:branches:Virtualization:containers
This pins the Docker component versions to ensure we don't create problems for ourselves. boo#993847

OBS-URL: https://build.opensuse.org/request/show/419583
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=125
2016-08-16 10:57:11 +00:00
Jordi Massaguer
27ad730437 Accepting request 415853 from home:simotek:branches:Virtualization:containers
add missing socket in %post

OBS-URL: https://build.opensuse.org/request/show/415853
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=123
2016-08-09 09:44:19 +00:00
Christian Brauner
6c56516e3a Accepting request 412185 from home:jordimassaguerpla:mbranch:2016_07_19:Vc:docker
- remove kernel dependency (bsc#987198)

OBS-URL: https://build.opensuse.org/request/show/412185
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=121
2016-07-19 19:07:01 +00:00
Jordi Massaguer
e05a54b725 add bug number for docker 1.11.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=120
2016-07-19 15:33:11 +00:00
Jordi Massaguer
6355b5c0d1 Accepting request 408295 from home:chbrauner:branches:Virtualization:containers
We've been informed (bsc#988707) that iptables will work on ppc64le with the new SLE release. Hence, we can remove the sysconfig.docker.ppc64le patch.

OBS-URL: https://build.opensuse.org/request/show/408295
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=118
2016-07-14 09:13:29 +00:00
Aleksa Sarai
da0ea66941 * Fix up directives in docker.service.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=116
2016-07-07 10:35:22 +00:00
Christian Brauner
d9b4385673 Accepting request 406826 from home:jordimassaguerpla:branch:docker:2016_07_06
- fix bsc#984942: audit.rules in docker-1.9.1-58.1.x86_64.rpm has a
  syntax error

OBS-URL: https://build.opensuse.org/request/show/406826
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=115
2016-07-05 18:33:23 +00:00
Christian Brauner
b2da1ef3a2 Accepting request 406751 from home:cyphar:branches:Virtualization:containers
This fixes up a few things, including bnc#983015. Delegate and TaskMax are commented out for documentation purposes.

OBS-URL: https://build.opensuse.org/request/show/406751
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=114
2016-07-05 14:37:24 +00:00
Jordi Massaguer
fb808759db Accepting request 404372 from devel:ARM:containers
- readd dropped declaration for patch200

OBS-URL: https://build.opensuse.org/request/show/404372
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=112
2016-06-27 07:26:43 +00:00
Jordi Massaguer
89ef316d94 Accepting request 400767 from home:scarabeus_iv:branches:Virtualization:containers
- Pass over with spec-cleaner, no factual changes

OBS-URL: https://build.opensuse.org/request/show/400767
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=111
2016-06-21 10:05:57 +00:00
Aleksa Sarai
f650820282 * Removed patches:
- cve-2016-3697-numeric-uid.patch (merged upstream in gh@docker/docker#22998).
* Update Docker to 1.11.2. Changelog from upstream:

* Networking
  * Fix a stale endpoint issue on overlay networks during ungraceful restart
    (#23015)
  * Fix an issue where the wrong port could be reported by docker
    inspect/ps/port (#22997)
* Runtime
  * Fix a potential panic when running docker build (#23032)
  * Fix interpretation of --user parameter (#22998)
  * Fix a bug preventing container statistics to be correctly reported (#22955)
  * Fix an issue preventing container to be restarted after daemon restart
    (#22947)
  * Fix issues when running 32 bit binaries on Ubuntu 16.04 (#22922)
  * Fix a possible deadlock on image deletion and container attach (#22918)
  * Fix an issue where containers fail to start after a daemon restart if they
    depend on a containerized cluster store (#22561)
  * Fix an issue causing docker ps to hang on CentOS when using devicemapper
    (#22168, #23067)
  * Fix a bug preventing to docker exec into a container when using
    devicemapper (#22168, #23067)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=109
2016-06-08 14:50:53 +00:00
Jordi Massaguer
fd323b7e80 Accepting request 396996 from home:jordimassaguerpla:mbranch:VC:2016-05-20:docker
- Fix udev files ownership

OBS-URL: https://build.opensuse.org/request/show/396996
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=107
2016-05-20 10:32:51 +00:00
Aleksa Sarai
22d959a1c7 * Make sure we *always* build unstripped Go binaries.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=106
2016-05-18 14:21:48 +00:00
Aleksa Sarai
ca40a59d67 * Add a patch to fix database soft corruption issues if the Docker dameon dies
in a bad state. There is a PR upstream to vendor Docker to have this fix as
  well, but it probably won't get in until 1.11.2. bnc#964673
  (https://github.com/docker/docker/pull/22765)
  + bnc964673-boltdb-metadata-recovery.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=105
2016-05-16 13:58:14 +00:00
Aleksa Sarai
f2ab5e5b2d * Remove conditional Patch directive for SUSE secrets, since conditionally
including patches results in incompatible .src.rpms. The patch is still
  applied conditionally.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=103
2016-05-02 07:41:45 +00:00
Aleksa Sarai
172c1f6bc3 * Update to Docker 1.11.1. Changelog from upstream:
* Distribution
    - Fix schema2 manifest media type to be of type `application/vnd.docker.container.image.v1+json` ([#21949](https://github.com/docker/docker/pull/21949))
  * Documentation
    + Add missing API documentation for changes introduced with 1.11.0 ([#22048](https://github.com/docker/docker/pull/22048))
  * Builder
    * Append label passed to `docker build` as arguments as an implicit `LABEL` command at the end of the processed `Dockerfile` ([#22184](https://github.com/docker/docker/pull/22184))
  * Networking
    - Fix a panic that would occur when forwarding DNS query ([#22261](https://github.com/docker/docker/pull/22261))
    - Fix an issue where OS threads could end up within an incorrect network namespace when using user defined networks ([#22261](https://github.com/docker/docker/pull/22261))
  * Runtime
    - Fix a bug preventing labels configuration to be reloaded via the config file ([#22299](https://github.com/docker/docker/pull/22299))
    - Fix a regression where container mounting `/var/run` would prevent other containers from being removed ([#22256](https://github.com/docker/docker/pull/22256))
    - Fix an issue where it would be impossible to update both `memory-swap` and `memory` value together ([#22255](https://github.com/docker/docker/pull/22255))
    - Fix a regression from 1.11.0 where the `/auth` endpoint would not initialize `serveraddress` if it is not provided ([#22254](https://github.com/docker/docker/pull/22254))
    - Add missing cleanup of container temporary files when cancelling a schedule restart ([#22237](https://github.com/docker/docker/pull/22237))
    - Removed scary error message when no restart policy is specified ([#21993](https://github.com/docker/docker/pull/21993))
    - Fix a panic that would occur when the plugins were activated via the json spec ([#22191](https://github.com/docker/docker/pull/22191))
    - Fix restart backoff logic to correctly reset delay if container ran for at least 10secs ([#22125](https://github.com/docker/docker/pull/22125))
    - Remove error message when a container restart get cancelled ([#22123](https://github.com/docker/docker/pull/22123))
    - Fix an issue where `docker` would not correcly clean up after `docker exec` ([#22121](https://github.com/docker/docker/pull/22121))
    - Fix a panic that could occur when servicing concurrent `docker stats` commands ([#22120](https://github.com/docker/docker/pull/22120))`
    - Revert deprecation of non-existing host directories auto-creation ([#22065](https://github.com/docker/docker/pull/22065))
    - Hide misleading rpc error on daemon shutdown ([#22058](https://github.com/docker/docker/pull/22058))

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=102
2016-04-29 09:33:54 +00:00
Aleksa Sarai
f9483df5af - Add patch to fix vulnerability in Docker <= 1.11.0. This patch is upstream,
but was merged after the 1.11.0 merge window. CVE-2016-3697. bsc#976777.
    + cve-2016-3697-numeric-uid.patch
  The upstream PR is here[1] and was vendored into Docker here[2].

  [1]: https://github.com/opencontainers/runc/pull/708
  [2]: https://github.com/docker/docker/pull/21665

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=101
2016-04-22 13:09:10 +00:00
Flavio Castelli
8e056c6a5a Accepting request 390606 from home:pluskalm:branches:Virtualization:containers
- Supplemnent zsh from zsh-completion
  * zsh-completion will be automatically installed if zsh and 
    docker are installed

OBS-URL: https://build.opensuse.org/request/show/390606
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=100
2016-04-19 07:54:05 +00:00
Jordi Massaguer
585f0efd39 - Remove gcc5_socker_workaround.patch: This patch is not needed anymore
since gcc5 has been updated in all platforms

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=99
2016-04-18 15:45:05 +00:00
Jordi Massaguer
d627c46579 apply the gcc5 fix only for sle12, not for opensuse tumbleweed
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=98
2016-04-18 10:27:02 +00:00
Aleksa Sarai
3e758ad610 * Removed patches that have been fixed upstream and in gcc-go:
- boltdb_bolt_powerpc.patch
  - fix-apparmor.patch
  - fix-btrfs-ioctl-structure.patch
  - fix-docker-init.patch
  - libnetwork_drivers_bridge_powerpc.patch
  - ignore-dockerinit-checksum.patch
* Require containerd, as it is the only currently supported Docker execdriver.
* Update docker.socket to require containerd.socket and use --containerd in
  docker.service so that the services are self-contained.
* Update to Docker 1.11.0.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=97
2016-04-18 06:28:19 +00:00
Jordi Massaguer
b8a3d24bad add docker-mount-secrets.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=96
2016-04-15 10:33:17 +00:00
Jordi Massaguer
d3a3c409f8 exclude s390x only if opensuse
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=95
2016-04-15 10:30:56 +00:00
Jordi Massaguer
c6f960a7a7 fix changelog so that it matches the one in sles12 and so we share the package
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=94
2016-04-15 10:27:31 +00:00
Jordi Massaguer
1d9c6c54b9 add mount-secrets patch and apply gcc5 fix also for
sle12 and leap, cause gcc5 has been updated there

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=93
2016-04-15 10:21:32 +00:00
Flavio Castelli
a57c99952a Accepting request 387297 from devel:ARM:Factory
- use go-lang for aarch64:
  - drop fix_platform_type_arm.patch (works around a gcc-go bug, so
  unnecessary)

OBS-URL: https://build.opensuse.org/request/show/387297
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=91
2016-04-11 08:00:40 +00:00
Aleksa Sarai
4fc4784b3b * Add bugzilla reference bnc#974208
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=90
2016-04-07 09:43:11 +00:00
Aleksa Sarai
fc54adafab * Add patch from upstream (https://github.com/docker/docker/pull/21723) to fix
compilation on Factory and Tumbleweed (which have btrfsprogs >= 4.5).
    + fix-btrfs-ioctl-structure.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=89
2016-04-07 09:37:14 +00:00
Flavio Castelli
30f62d728c - Changed systemd unit file and default sysconfig file to include network options,
this is needed to get SDN like flannel to work

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=87
2016-03-22 15:28:46 +00:00
Jordi Massaguer
8f8770d804 rebase changelog based on openSUSE:13.2:Update docker
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=86
2016-03-15 15:54:46 +00:00
Jordi Massaguer
6632f104c3 add last minute changes on the migration process
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=85
2016-03-15 11:47:01 +00:00
Jordi Massaguer
f129359d5e fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=84
2016-03-15 11:39:02 +00:00
Jordi Massaguer
9339aa78a4 sync with latest changes for docker-1.10 and also sync changelog with
package for SLE

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=83
2016-03-15 11:35:05 +00:00
Jordi Massaguer
5b9dc986b2 - update to docker 1.10.3 (bnc#970637)
Runtime
    Fix Docker client exiting with an "Unrecognized input header" error #20706
    Fix Docker exiting if Exec is started with both AttachStdin and Detach #20647
  Distribution
    Fix a crash when pushing multiple images sharing the same layers to the same repository in parallel #20831
    Fix a panic when pushing images to a registry which uses a misconfigured token service #21030
  Plugin system
    Fix issue preventing volume plugins to start when SELinux is enabled #20834
    Prevent Docker from exiting if a volume plugin returns a null response for Get requests #20682
    Fix plugin system leaking file descriptors if a plugin has an error #20680
  Security
    Fix linux32 emulation to fail during docker build #20672 It was due to the personality syscall being blocked by the default seccomp profile.
    Fix Oracle XE 10g failing to start in a container #20981 It was due to the ipc syscall being blocked by the default seccomp profile.
    Fix user namespaces not working on Linux From Scratch #20685
    Fix issue preventing daemon to start if userns is enabled and the subuid or subgid files contain comments #20725
  More at https://github.com/docker/docker/releases/tag/v1.10.3

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=82
2016-03-11 09:13:43 +00:00
Jordi Massaguer
0a40d1c851 Accepting request 367638 from home:michel_mno:branches:Virtualization:containers
- more patches to build on ppc64 architecture
  update netlink_gcc_go.patch
  new netlink_netns_powerpc.patch
  new boltdb_bolt_powerpc.patch
  new libnetwork_drivers_bridge_powerpc.patch to replace
      deleted fix-ppc64le.patch

OBS-URL: https://build.opensuse.org/request/show/367638
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=81
2016-03-07 14:44:00 +00:00
Aleksa Sarai
6c72404a57 - Remove docker-image-migrator for now (there are plenty of issues getting it to
work properly at the moment). (bnc#968933)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=80
2016-03-07 12:08:24 +00:00
Jordi Massaguer
52e75bc376 comment temporary the migration requirement until we fix that package
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=79
2016-03-07 12:08:12 +00:00
Jordi Massaguer
6a84d2ec5a - fix bsc#968972 - let docker manage the cgroups of the processes
that it launches without systemd

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=78
2016-03-01 18:22:19 +00:00
Jordi Massaguer
7eeda7063e fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=77
2016-03-01 17:44:13 +00:00
Jordi Massaguer
67e552755b fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=76
2016-03-01 15:46:41 +00:00
Jordi Massaguer
0d6e53e6f0 fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=75
2016-03-01 15:45:33 +00:00
Jordi Massaguer
c675fac864 update to docker-1.10.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=74
2016-03-01 15:43:51 +00:00
Aleksa Sarai
9e251436af - fix-apparmor.patch: switch to a backported version of docker/docker#20305,
which also fixes several potential issues if the major version of apparmor
  changes.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=73
2016-02-15 13:18:46 +00:00
Jordi Massaguer
570a2ef161 - Update to docker 1.10.1
It includes some fixes to 1.10.0, see detailed changelog in
https://github.com/docker/docker/blob/v1.10.1/CHANGELOG.md

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=72
2016-02-12 16:12:58 +00:00
Jordi Massaguer
fce327c0ca fix-apparmor.patch: fix https://github.com/docker/docker/issues/20269 . It affects SLE12 which has apparmor
version 2.8 and not openSUSE which has version 2.9.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=71
2016-02-12 12:52:19 +00:00
Jordi Massaguer
c9ddc4fd37 fix patch name
in the previous commit I did a mistake when renumbering the patches

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=70
2016-02-09 17:37:28 +00:00
Jordi Massaguer
c6dc735d90 review patch numbers and comments and spaces in files
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=69
2016-02-09 17:35:20 +00:00