Commit Graph

352 Commits

Author SHA256 Message Date
Dominique Leuenberger
1f246de7c6 Accepting request 341053 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/341053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=26
2015-10-28 16:30:33 +00:00
Flavio Castelli
c2bb76f4bf Accepting request 341015 from home:michel_mno:branches:Virtualization:containers
- new patch to avoid ppc64le build error
  docker_missing_ppc64le_netlink_linux_files.patch

OBS-URL: https://build.opensuse.org/request/show/341015
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=41
2015-10-26 17:42:45 +00:00
Dominique Leuenberger
87dda39406 Accepting request 339966 from Virtualization:containers
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/339966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=25
2015-10-20 14:22:31 +00:00
Flavio Castelli
2e6d120ee5 - Update docker to 1.8.3 version:
* Fix layer IDs lead to local graph poisoning (CVE-2014-8178) (bnc#949660)
  * Fix manifest validation and parsing logic errors allow pull-by-digest validation bypass (CVE-2014-8179)
  * Add `--disable-legacy-registry` to prevent a daemon from using a v1 registry

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=39
2015-10-12 20:33:58 +00:00
Flavio Castelli
b62e4c92da Add service file
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=38
2015-10-12 20:28:27 +00:00
Stephan Kulow
3efc0b1898 Accepting request 334778 from Virtualization:containers
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/334778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=24
2015-09-30 03:53:25 +00:00
Jordi Massaguer
41dce14846 fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=36
2015-09-22 11:04:26 +00:00
Jordi Massaguer
a479c94961 fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=35
2015-09-21 09:48:09 +00:00
Dominique Leuenberger
7d707de49a Accepting request 330936 from Virtualization:containers
- Update docker to 1.8.2 version
  see detailed changelog in
  https://github.com/docker/docker/releases/tag/v1.8.2 
- devicemapper: fix zero-sized field access 
  Fix issue #15279: does not build with Go 1.5 tip
  Due to golang/go@7904946
  the devices field is dropped.
  This solution works on go1.4 and go1.5
  See more in https://github.com/docker/docker/pull/15404
  
  This fix was not included in v1.8.2. See previous link
  on why.
  fix_15279.patch: contains the patch for issue#15279

OBS-URL: https://build.opensuse.org/request/show/330936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=23
2015-09-17 07:20:33 +00:00
Jordi Massaguer
1552a120e1 fix the patch (it contained .orig file)
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=33
2015-09-11 07:44:36 +00:00
Jordi Massaguer
4771fe429a - Update docker to 1.8.2 version
see detailed changelog in
  https://github.com/docker/docker/releases/tag/v1.8.2 
- devicemapper: fix zero-sized field access 
  Fix issue #15279: does not build with Go 1.5 tip
  Due to golang/go@7904946
  the devices field is dropped.
  This solution works on go1.4 and go1.5
  See more in https://github.com/docker/docker/pull/15404
  
  This fix was not included in v1.8.2. See previous link
  on why.
  fix_15279.patch: contains the patch for issue#15279

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=32
2015-09-10 22:36:30 +00:00
Stephan Kulow
0981bd70e0 Accepting request 324799 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/324799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=22
2015-08-23 13:43:56 +00:00
Jordi Massaguer
c59282bf35 Accepting request 324771 from home:michel_mno:branches:Virtualization:containers
- new patch as per upstream issue
  https://github.com/docker/docker/issues/14056#issuecomment-113680944
  docker_rename_jump_amd64_as_jump_linux.patch

- ignore-dockerinit-checksum.patch need -p1 in spec

OBS-URL: https://build.opensuse.org/request/show/324771
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=30
2015-08-21 09:18:31 +00:00
Dominique Leuenberger
d9a0d711d2 Accepting request 324525 from Virtualization:containers
- Update to docker 1.8.1(bsc#942369 and bsc#942370):
  - Fix a bug where pushing multiple tags would result in invalid images
- Update to docker 1.8.0:
  see detailed changelog in
  https://github.com/docker/docker/releases/tag/v1.8.0 
- remove docker-netns-aarch64.patch: This patch was adding 
   vendor/src/github.com/vishvananda/netns/netns_linux_arm64.go
  which is now included upstream, so we don't need this patch anymore

OBS-URL: https://build.opensuse.org/request/show/324525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=21
2015-08-21 05:41:45 +00:00
Jordi Massaguer
aa551a814d fix changelog: state bugzilla numbers and add reason why patch has been removed
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=28
2015-08-20 08:15:10 +00:00
Jordi Massaguer
0f220182b4 - Update to docker 1.8.1:
- Fix a bug where pushing multiple tags would result in invalid images

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=27
2015-08-13 09:00:13 +00:00
Jordi Massaguer
af67b92266 - Update to docker 1.8.0:
see detailed changelog in
  https://github.com/docker/docker/releases/tag/v1.8.0

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=26
2015-08-12 16:16:03 +00:00
Stephan Kulow
5d0c5799b5 Accepting request 318457 from Virtualization:containers
- Exclude archs where docker does not build. Otherwise it gets into
  and infinite loop when building.
  We'll fix that later if we want to release for those archs.

OBS-URL: https://build.opensuse.org/request/show/318457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=20
2015-07-25 05:44:33 +00:00
Jordi Massaguer
fe9b98619e - Exclude archs where docker does not build. Otherwise it gets into
and infinite loop when building.
  We'll fix that later if we want to release for those archs.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=24
2015-07-24 14:22:23 +00:00
Stephan Kulow
4eaf3b6ba1 Accepting request 317983 from Virtualization:containers
fix build fail with debuginfo enabled by running fdupes
and...

- Update to 1.7.1 (2015-07-14) (bnc#938156)
Runtime
    Fix default user spawning exec process with docker exec
    Make --bridge=none not to configure the network bridge
    Publish networking stats properly
    Fix implicit devicemapper selection with static binaries
    Fix socket connections that hung intermittently
    Fix bridge interface creation on CentOS/RHEL 6.6
    Fix local dns lookups added to resolv.conf
    Fix copy command mounting volumes
    Fix read/write privileges in volumes mounted with --volumes-from
Remote API
    Fix unmarshalling of Command and Entrypoint
    Set limit for minimum client version supported
    Validate port specification
    Return proper errors when attach/reattach fail
Distribution
    Fix pulling private images
    Fix fallback between registry V2 and V1

OBS-URL: https://build.opensuse.org/request/show/317983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=19
2015-07-23 13:23:08 +00:00
Jordi Massaguer
82ffe3baf1 run fdupes macro in order to remove duplicates
building this package with debuginfo enabled (which is required for openSUSE:Factory)
was giving this warning:

[  112s] extracting debug info from
/home/abuild/rpmbuild/BUILDROOT/docker-1.7.1-22.1.x86_64/usr/src/docker/bundles/1.7.1/dynbinary/docker-1.7.1
[  112s] *** WARNING: identical binaries are copied, not linked:
[  112s]         /usr/src/docker/bundles/1.7.1/dynbinary/docker-1.7.1
[  112s]    and  /usr/bin/docker

which was creating this error:

RPM build errors:
[  292s]     Installed (but unpackaged) file(s) found:
[  292s]
/usr/lib/debug/usr/src/docker/bundles/1.7.1/dynbinary/docker-1.7.1.debug


Running fdupes fixes it.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=22
2015-07-22 15:00:07 +00:00
Jordi Massaguer
1edffb7f36 minor spec fix: duplicated file error
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=21
2015-07-22 11:26:11 +00:00
Jordi Massaguer
11e3a548e1 update git_commit to 1.7.1 version
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=20
2015-07-15 08:32:13 +00:00
Jordi Massaguer
348bf85a75 - Update to 1.7.1 (2015-07-14) (bnc#938156)
Runtime
    Fix default user spawning exec process with docker exec
    Make --bridge=none not to configure the network bridge
    Publish networking stats properly
    Fix implicit devicemapper selection with static binaries
    Fix socket connections that hung intermittently
    Fix bridge interface creation on CentOS/RHEL 6.6
    Fix local dns lookups added to resolv.conf
    Fix copy command mounting volumes
    Fix read/write privileges in volumes mounted with --volumes-from
Remote API
    Fix unmarshalling of Command and Entrypoint
    Set limit for minimum client version supported
    Validate port specification
    Return proper errors when attach/reattach fail
Distribution
    Fix pulling private images
    Fix fallback between registry V2 and V1

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=19
2015-07-15 08:15:16 +00:00
Stephan Kulow
ac5fddd07a Accepting request 315847 from Virtualization:containers
- Exclude init scripts other than systemd from the test-package 

- Exclude intel 32 bits arch. Docker does not built on that. Let's
  make it explicit. 

- rediff ignore-dockerinit-checksum.patch, gcc-go-build-static-libgo.patch
  to make them apply again.
- introduce go_arches for architectures that use the go compiler
  instead of gcc-go
- add docker-netns-aarch64.patch: Add support for AArch64
- enable build for aarch64

- Build man pages only on platforms where gc compiler is available.

- Updated to 1.7.0 (2015-06-16) - bnc#935570
  * Runtime
    - Experimental feature: support for out-of-process volume plugins
    - The userland proxy can be disabled in favor of hairpin NAT using the daemon’s `--userland-proxy=false` flag
    - The `exec` command supports the `-u|--user` flag to specify the new process owner
    - Default gateway for containers can be specified daemon-wide using the `--default-gateway` and `--default-gateway-v6` flags
    - The CPU CFS (Completely Fair Scheduler) quota can be set in `docker run` using `--cpu-quota`
    - Container block IO can be controlled in `docker run` using`--blkio-weight`
    - ZFS support
    - The `docker logs` command supports a `--since` argument
    - UTS namespace can be shared with the host with `docker run --uts=host`
  * Quality
    - Networking stack was entirely rewritten as part of the libnetwork effort
    - Engine internals refactoring
    - Volumes code was entirely rewritten to support the plugins effort
    - Sending SIGUSR1 to a daemon will dump all goroutines stacks without exiting

OBS-URL: https://build.opensuse.org/request/show/315847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=18
2015-07-14 15:43:43 +00:00
Jordi Massaguer
85c8df8f2f - Exclude init scripts other than systemd from the test-package
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=17
2015-07-10 11:27:13 +00:00
Jordi Massaguer
a90ce89d3f update changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=16
2015-07-01 12:36:58 +00:00
Jordi Massaguer
b6026f9ffe Exclude %ix86 arch.
docker does not build for 32 bits. We have to explicitely exclude it or this can't go to openSUSE:Factory

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=15
2015-07-01 12:33:12 +00:00
Flavio Castelli
4931d03fff Accepting request 313847 from home:dirkmueller:branches:Virtualization:containers
- rediff ignore-dockerinit-checksum.patch, gcc-go-build-static-libgo.patch
  to make them apply again.
- introduce go_arches for architectures that use the go compiler
  instead of gcc-go
- add docker-netns-aarch64.patch: Add support for AArch64
- enable build for aarch64

OBS-URL: https://build.opensuse.org/request/show/313847
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=14
2015-06-26 14:30:44 +00:00
Flavio Castelli
fc329e1c4c - Build man pages only on platforms where gc compiler is available.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=13
2015-06-24 09:02:29 +00:00
Flavio Castelli
a2023564fb - Updated to 1.7.0 (2015-06-16) - bnc#935570
* Runtime
    - Experimental feature: support for out-of-process volume plugins
    - The userland proxy can be disabled in favor of hairpin NAT using the daemon’s `--userland-proxy=false` flag
    - The `exec` command supports the `-u|--user` flag to specify the new process owner
    - Default gateway for containers can be specified daemon-wide using the `--default-gateway` and `--default-gateway-v6` flags
    - The CPU CFS (Completely Fair Scheduler) quota can be set in `docker run` using `--cpu-quota`
    - Container block IO can be controlled in `docker run` using`--blkio-weight`
    - ZFS support
    - The `docker logs` command supports a `--since` argument
    - UTS namespace can be shared with the host with `docker run --uts=host`
  * Quality
    - Networking stack was entirely rewritten as part of the libnetwork effort
    - Engine internals refactoring
    - Volumes code was entirely rewritten to support the plugins effort
    - Sending SIGUSR1 to a daemon will dump all goroutines stacks without exiting
  * Build
    - Support ${variable:-value} and ${variable:+value} syntax for environment variables
    - Support resource management flags `--cgroup-parent`, `--cpu-period`, `--cpu-quota`, `--cpuset-cpus`, `--cpuset-mems`
    - git context changes with branches and directories
    - The .dockerignore file support exclusion rules
  * Distribution
    - Client support for v2 mirroring support for the official registry
  * Bugfixes
    - Firewalld is now supported and will automatically be used when available
    - mounting --device recursively
- Patch 0002-Stripped-dockerinit-binary.patch renamed to fix-docker-init.patch
  and fixed to build with latest version of docker

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=12
2015-06-22 09:09:23 +00:00
Flavio Castelli
84f28f19ef Accepting request 311406 from home:jordimassaguerpla:branches:Virtualization:containers
Remove unneeded dependencies:
 * go-go-md2man: this is required to build the man pages. 
 * systemd-devel: this was a build time dependency required to have some directories inside of the build root

Exclude the whole "/usr/src/docker/bundles" directory from the final package.

OBS-URL: https://build.opensuse.org/request/show/311406
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=11
2015-06-10 08:16:24 +00:00
Flavio Castelli
9017ee55c3 - Fixed ppc64le name inside of spec file
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=10
2015-06-05 15:27:32 +00:00
Flavio Castelli
5a40d680c1 - Build docker on PPC and S390x using gcc-go provided by gcc5
* added sysconfig.docker.ppc64le: make docker daemon start on ppc64le
    despite some iptables issues. To be removed soon
  * ignore-dockerinit-checksum.patch: applied only when building with
    gcc-go. Required to workaround a limitation of gcc-go
  * gcc-go-build-static-libgo.patch: used only when building with gcc-go,
    link libgo statically into docker itself.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=9
2015-06-05 15:24:58 +00:00
Dominique Leuenberger
bcf3a1180c Accepting request 308888 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/308888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=17
2015-05-28 07:56:15 +00:00
Flavio Castelli
bc3232817c Accepting request 308881 from home:dmacvicar:docker-man
- build and install man pages

OBS-URL: https://build.opensuse.org/request/show/308881
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=7
2015-05-27 10:27:27 +00:00
Dominique Leuenberger
acd843eae8 Accepting request 308633 from Virtualization:containers
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/308633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=16
2015-05-26 10:33:39 +00:00
Flavio Castelli
e72f50b069 - Update to version 1.6.2 (2015-05-13) [bnc#931301]
* Revert change prohibiting mounting into /sys

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=5
2015-05-18 15:12:26 +00:00
Stephan Kulow
aed78a93a0 Accepting request 307100 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/307100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=15
2015-05-15 05:44:24 +00:00
Dominique Leuenberger
42faa36b3e Accepting request 294716 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/294716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=14
2015-04-10 07:50:51 +00:00
Dominique Leuenberger
4888765dec Accepting request 286657 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/286657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=13
2015-02-18 19:36:53 +00:00
Dominique Leuenberger
2bc802d474 Accepting request 282380 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/282380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=12
2015-01-22 20:49:38 +00:00
Stephan Kulow
093726cd6d Accepting request 265920 from Virtualization
- Updated to 1.4.0 (2014-12-11):
  * Notable Features since 1.3.0:
    - Set key=value labels to the daemon (displayed in `docker info`), applied with
      new `-label` daemon flag
    - Add support for `ENV` in Dockerfile of the form: 
      `ENV name=value name2=value2...`
    - New Overlayfs Storage Driver
    - `docker info` now returns an `ID` and `Name` field
    - Filter events by event name, container, or image
    - `docker cp` now supports copying from container volumes
    - Fixed `docker tag`, so it honors `--force` when overriding a tag for existing
      image.
- Changes introduced by 1.3.3 (2014-12-11):
  * Security:
    - Fix path traversal vulnerability in processing of absolute symbolic links (CVE-2014-9356) - (bnc#909709)
    - Fix decompression of xz image archives, preventing privilege escalation (CVE-2014-9357) - (bnc#909710)
    - Validate image IDs (CVE-2014-9358) - (bnc#909712)
  * Runtime:
    - Fix an issue when image archives are being read slowly
  * Client:
    - Fix a regression related to stdin redirection
    - Fix a regression with `docker cp` when destination is the current directory

OBS-URL: https://build.opensuse.org/request/show/265920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=11
2014-12-21 11:05:02 +00:00
Dominique Leuenberger
80ac41173a Accepting request 263863 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/263863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=10
2014-12-03 21:48:32 +00:00
Dominique Leuenberger
70d0809182 Accepting request 260217 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/260217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=9
2014-11-10 16:28:33 +00:00
Stephan Kulow
018f22bb59 Accepting request 258484 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/258484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=8
2014-10-29 20:09:54 +00:00
Stephan Kulow
0111d4ef35 Accepting request 248981 from Virtualization
1

OBS-URL: https://build.opensuse.org/request/show/248981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=7
2014-09-12 15:04:18 +00:00
Stephan Kulow
ac9dff580c Accepting request 248639 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/248639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=6
2014-09-12 08:03:38 +00:00
Stephan Kulow
32a23ee11a Accepting request 247056 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/247056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=5
2014-09-01 14:59:21 +00:00
79162f7c36 Accepting request 244864 from Virtualization
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/244864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=3
2014-08-16 13:38:01 +00:00