Justin Cormack
235cb9312a
Update opam to current alpine 3.5 base
...
Use internal solver as external one is broken at present.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-07 00:36:16 +00:00
Justin Cormack
27cbd17613
Merge pull request #964 from rneugeba/ebpf
...
Fix a few eBPF things
2017-01-06 19:03:16 +00:00
Justin Cormack
c77fabb9da
Merge pull request #960 from justincormack/no-kernel-workdir
...
Do not set WORKDIR in kernel builds
2017-01-06 18:29:46 +00:00
Justin Cormack
7f41abd229
Merge pull request #962 from justincormack/kernelup
...
Update kernel to 4.9.1
2017-01-06 18:22:22 +00:00
Rolf Neugebauer
3a9009a6e7
ebpf: fix ebpf compile error
...
Some/most of the samples/tools throw and error, e.g.:
LLVM ERROR: Cannot select: 0x56049b79dcb0: ch,glue = BPFISD::CALL 0x56049a93ad60, TargetExternalSymbol:i64'__stack_chk_fail'
0x56049b391500: i64 = TargetExternalSymbol'__stack_chk_fail'
In function: waker
bcc-stack-protector.patch adds -fno-stack-protector to the CFLAGS
which fixes this error.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-01-06 18:06:05 +00:00
Justin Cormack
1a13a90f16
Do not set WORKDIR in kernel builds
...
This is a temporary workaround for https://github.com/docker/docker/issues/29950
which has broken caching and therefore is very annoying for development, but we
don't really need to set it, so it can stay...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-06 18:03:09 +00:00
Justin Cormack
6dd377145d
Update kernel to 4.9.1
...
This has various security updates which do potentially affect
containerised application security see
https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.1
estimated medium severity.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-06 18:02:06 +00:00
Justin Cormack
3258ea6017
Merge pull request #959 from justincormack/ci-config
...
Add datakit CI control file
2017-01-06 17:49:15 +00:00
Rolf Neugebauer
48d9722ac0
docs: add a note about kernel symbols to the ebpf documentation
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-01-06 16:52:16 +00:00
Rolf Neugebauer
fa1a55ae03
ebpf: set LD_LIBRARY_PATH in container
...
This is needed for the python tools to find libbcc.so
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-01-06 16:49:38 +00:00
Rolf Neugebauer
9d90fbf503
docs: add --pid=host to ebpf command line.
...
A lot of the `iovisor/bcc` tools take a pid as a command line option and using
`--pid=host` allows you to use `$(pgrep foo)`
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-01-06 16:43:43 +00:00
Justin Cormack
285266dd93
Add datakit CI control file
...
This controls build with AUFS=1 so we can build in parallel.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-06 15:10:05 +00:00
Justin Cormack
c842247bac
Merge pull request #952 from justincormack/mtu-dhcpcd
...
Add the MTU script for dhcpcd
2017-01-06 10:27:16 +00:00
Justin Cormack
973b0bf19d
Add the MTU script for dhcpcd
...
This might fix the issue that GCE is not setting the MTU from
the DHCP response. The documentation says this is shipped but
it is not in Alpine, this one is from a NetBSD install.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-05 23:24:42 +00:00
Justin Cormack
e1a3ae1a46
Merge pull request #927 from riyazdf/ubsan-config
...
kernel config updates for undefined behavior
2017-01-05 20:04:05 +00:00
Justin Cormack
8096613aa6
Merge pull request #951 from justincormack/golang-3.5
...
Update Go build packages to Alpine 3.5
2017-01-05 17:08:51 +00:00
Riyaz Faizullabhoy
97040931c3
Set CONFIG_UBSAN, add to grep test
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-01-05 09:03:21 -08:00
Justin Cormack
5a06152f98
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
0f018a4f20
Merge pull request #945 from justincormack/ebpf-container
...
Add a development eBPF container build
2017-01-05 15:07:14 +00:00
Justin Cormack
ee7f24defd
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
050a25282f
Merge pull request #948 from justincormack/dockerup
...
Update docker to 1.13.0-rc5
2017-01-05 10:33:33 +00:00
Justin Cormack
16b941fb68
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
83f5195b69
Merge pull request #938 from riyazdf/grep-test
...
grep test for kernel config
2017-01-04 18:28:38 +00:00
Justin Cormack
8c0f02f3a6
Merge pull request #946 from dgageot/ignore-empty-startup-script
...
Ignore non existant startup script (http/404)
2017-01-04 18:27:04 +00:00
Riyaz Faizullabhoy
bcebb47868
Kernel config grep test
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-01-04 09:44:17 -08:00
David Gageot
d36d9b5c1b
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
ffbc538f1d
Merge pull request #943 from justincormack/bootable
...
Set bootable flag after partition resize
2017-01-04 16:45:37 +00:00
Justin Cormack
bf8538945a
Merge pull request #944 from dgageot/complete-gce-upload
...
Complete target to upload to GCE
2017-01-04 16:36:13 +00:00
David Gageot
969422b1ae
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
f034ae66aa
Merge pull request #941 from rneugeba/kern-up
...
kernel: properly update 4.9 patches
2017-01-04 15:09:59 +00:00
Justin Cormack
e1fe9f05c8
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
b5e8a5027a
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
cd96152ad0
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
4e252c524a
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
4be0fd0378
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
e955457195
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
11c0280ab0
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
3fad706162
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
Justin Cormack
2f66b4322a
Merge pull request #937 from dgageot/change-gce-image-path
...
Change the path of GCE image
2016-12-30 20:14:05 +00:00
David Gageot
6986b3b6d0
Change the path of GCE image
...
Signed-off-by: David Gageot <david@gageot.net>
2016-12-30 16:03:54 +01:00
Justin Cormack
8e01d5cb0f
Merge pull request #936 from justincormack/bpf-config
...
Add the additional bpf options to kernel config
2016-12-28 22:24:36 +00:00
Justin Cormack
309e2e2872
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
9cab656fc8
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
7bd03d7dd1
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
ffe02bef0c
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
76d376f7cc
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
00b3924067
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
3f86d07943
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
Justin Cormack
297844681f
Merge pull request #933 from dgageot/sethostname-gcp
...
Set hostname on GCP
2016-12-28 17:37:32 +00:00
David Gageot
1bf637ca5d
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