Commit Graph

1303 Commits

Author SHA1 Message Date
Justin Cormack
81a7af5299 Update Go build packages to Alpine 3.5
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-05 15:58:16 +00:00
Justin Cormack
5b838d53a6 Merge pull request #945 from justincormack/ebpf-container
Add a development eBPF container build
2017-01-05 15:07:14 +00:00
Justin Cormack
f6c2143197 Add a development eBPF container build
See `docs/ebpf.md` for how to use. This is built by CI or you can build
manually if you customise the kernel.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-05 11:59:28 +00:00
Justin Cormack
c2754ed49e Update docker to 1.13.0-rc5
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-05 09:28:02 +00:00
Justin Cormack
b61bda029a Merge pull request #938 from riyazdf/grep-test
grep test for kernel config
2017-01-04 18:28:38 +00:00
Riyaz Faizullabhoy
a197775b25 Kernel config grep test
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-01-04 09:44:17 -08:00
David Gageot
9d9ac03a6a Ignore non existant startup script (http/404)
Signed-off-by: David Gageot <david@gageot.net>
2017-01-04 17:59:08 +01:00
Justin Cormack
4cd0c9981f Merge pull request #943 from justincormack/bootable
Set bootable flag after partition resize
2017-01-04 16:45:37 +00:00
David Gageot
84a7672bd5 Complete target to upload to GCE
+ Use `make gce-upload` to auth and upload
 + Use `FORCE_GSUTIL_AUTH=0 make gce-upload` to
reuse previous auth information

Signed-off-by: David Gageot <david@gageot.net>
2017-01-04 17:16:20 +01:00
Justin Cormack
0fd1836938 Merge pull request #941 from rneugeba/kern-up
kernel: properly update 4.9 patches
2017-01-04 15:09:59 +00:00
Justin Cormack
eb37e4c29e Merge pull request #942 from djs55/capture-bolt-dbs
diagnostics: capture the networks and volumes db
2017-01-04 15:09:26 +00:00
Justin Cormack
3159e3767c Set bootable flag after partition resize
Google Cloud requires this to be set to boot.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-04 15:07:23 +00:00
Justin Cormack
4230b5cc1e Merge pull request #940 from justincormack/kernel-dev-headers
Add a kernel-dev tarball with kernel headers
2017-01-04 14:10:39 +00:00
Rolf Neugebauer
ad692a06fb kernel: properly update 4.9 patches
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-01-04 13:50:05 +00:00
Justin Cormack
7ecc615665 Merge pull request #939 from justincormack/check-config-up
Update check-config script from Docker master
2017-01-04 13:45:09 +00:00
Justin Cormack
3930ad787b Add a kernel-dev tarball with kernel headers
These headers are needed for defining kernel probes etc, tested with
eBPF. Could also be used for perf, building kernel modules etc. Saved
to the media tarball at present, may add to base image or container.

Also rationalise the paths in the headers tarball a little to match.

Will add an eBPF container using these later.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-04 12:10:30 +00:00
Justin Cormack
fbdcd0439c Update check-config script from Docker master
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-04 12:08:57 +00:00
David Scott
934fb2961b diagnostics: capture the networks and volumes db
This should help diagnose failures like that described in

https://github.com/docker/docker/issues/29636

Signed-off-by: David Scott <dave.scott@docker.com>
2017-01-04 11:52:43 +00:00
David Gageot
8640c4e4be Change the path of GCE image
Signed-off-by: David Gageot <david@gageot.net>
2016-12-30 16:03:54 +01:00
Justin Cormack
c54ea3e546 Add the additional bpf options to kernel config
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-28 21:29:07 +00:00
Justin Cormack
0209e93d3e Merge pull request #932 from justincormack/alpine-3.5
Update base images to Alpine 3.5
2016-12-28 19:58:59 +00:00
Justin Cormack
2983435749 Merge pull request #926 from riyazdf/kspp-config
KSPP sysctl + kernel config updates, 4.9 bump
2016-12-28 19:57:09 +00:00
Justin Cormack
1a85a04628 Merge pull request #930 from justincormack/docker-master
Add a build flag to build from master
2016-12-28 18:57:38 +00:00
Justin Cormack
5f625a6889 Add a build flag to build from master
This donwloads from master.dockerproject.org and fixes up the
different URL structure.

Use `make DOCKER_VERSION=master`

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-28 18:33:29 +00:00
Justin Cormack
4ac42402e5 Update base images to Alpine 3.5
excludes
- Go base images as not yet available
- perf which does not build with latest image

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-28 18:09:08 +00:00
Justin Cormack
8d3fe19140 Merge pull request #931 from justincormack/alpine-3.5-base
Update base image to Alpine 3.5 official image
2016-12-28 17:43:08 +00:00
David Gageot
245e64ac94 Set hostname on GCP
Split GCP startup script in two:

 + One started before Docker, to set the hostname
 + Another to run the startup script

Signed-off-by: David Gageot <david@gageot.net>
2016-12-28 17:51:33 +01:00
Justin Cormack
74dfe84cf0 Update base image to Alpine 3.5 official image
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-27 19:02:29 +00:00
David Gageot
a54f2ae179 Specific init.d script for GCP
Signed-off-by: David Gageot <david@gageot.net>
2016-12-23 12:03:20 +01:00
David Gageot
86c29efe87 Change the bucket where Moby is pushed for GCE
And make the image public

Signed-off-by: David Gageot <david@gageot.net>
2016-12-22 19:03:55 +01:00
Riyaz Faizullabhoy
6c6baf37a3 Edit kernel_config to include some KSPP recommendations
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-22 10:00:22 -08:00
Riyaz Faizullabhoy
07f4f90b6c Add kspp recommended sysctl settings
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-22 10:00:22 -08:00
Riyaz Faizullabhoy
93c331af92 Bump kernel config for 4.9
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-22 10:00:22 -08:00
David Gageot
054b49ccca Update mobylinux/mkimage-gce image
Signed-off-by: David Gageot <david@gageot.net>
2016-12-22 18:44:33 +01:00
David Gageot
b16b457306 Flag GCP platform
Signed-off-by: David Gageot <david@gageot.net>
2016-12-22 18:42:15 +01:00
Justin Cormack
3cb47b0b00 Fix the cgroup memory hierarchy warning
Needed to make the memory cgroup work properly

fix #373

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-22 00:21:47 +00:00
Justin Cormack
f953ad780c Update AUFS kernel to 4.9
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-21 21:59:07 +00:00
Justin Cormack
cc72074b11 Merge pull request #915 from riyazdf/golinting
Add golint, gofmt, govet
2016-12-21 19:35:31 +00:00
Riyaz Faizullabhoy
c8e7a6dd43 Move linting to Go build
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-21 11:26:33 -08:00
Riyaz Faizullabhoy
b73d2a29a7 Add lint docker image for golang linting and testing to individual package subdirs
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-20 15:00:08 -08:00
Riyaz Faizullabhoy
05bb6d5c1a Revert "Bumps for azure 1.13.0-rc4-beta14"
This reverts commit 2197b7b7c6.

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-19 17:42:32 -08:00
Nathan LeClaire
049ec0b285 Bumps for azure 1.13.0-rc4-beta14
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-12-19 17:19:32 -08:00
Riyaz Faizullabhoy
51088ee491 Add golint, make linting top-level
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-19 16:13:02 -08:00
Riyaz Faizullabhoy
27cb33f7b9 Add gofmt, govet
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-12-19 15:17:37 -08:00
Justin Cormack
8a2bbdde6d Merge pull request #913 from justincormack/baseup
Update Alpine base image
2016-12-19 18:46:51 +00:00
Justin Cormack
ba2ac2396a Merge pull request #912 from justincormack/exclude-cleanup
Set an exclude pattern when untarring images
2016-12-19 18:46:05 +00:00
Justin Cormack
8e32828a9f Update Alpine base image
Security update

- openssh 7.4

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-19 18:04:42 +00:00
Justin Cormack
b4cba71eaa Set an exclude pattern when untarring images
This is a bit cleaner than deleting files after.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-19 17:54:01 +00:00
Justin Cormack
30047cb226 Remove extraneous docker rm
fix #879

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-19 17:08:33 +00:00
Justin Cormack
705632ff66 Support Docker 1.12 on OSX
I had occasion to use a Moby build of 1.12 on Docker for Mac today
and I had to patch this in. Given that we re-added support for 1.12
for cloud, for CS, may as well support on OSX too as we are still
doing releases.

The fix is a bit messy (hence the flag), as it writes to the file
system but we will remove it later, or work around the write if
we need to continue to support 1.12 outside the 1.12.x branch.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-12-17 00:02:45 -08:00