Commit Graph

1878 Commits

Author SHA1 Message Date
Justin Cormack
73d2d0f1b9 Remove lvm2 package
We have no lvm support, so not needed.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 10:48:44 +00:00
Justin Cormack
5fc08179e5 Merge pull request #700 from justincormack/baseup
Update base image
2016-11-08 10:38:35 +00:00
Justin Cormack
86d27d1155 Remove bind tools
We are not using these anywhere, busybox provides some of them.

Avoids security warnings.

Rework of #684

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 10:14:07 +00:00
Justin Cormack
1636eab508 Update base image
- bind update
- edge packages moved to 3.5

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-08 10:09:10 +00:00
Justin Cormack
c77f5d944e Merge pull request #696 from justincormack/media-fix
remove bios media from Dockerfile and add vmlinux
2016-11-07 16:30:24 +00:00
Justin Cormack
b9a794d7f2 remove bios media from Dockerfile and add vmlinux
Fixes `make media`

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-07 16:22:11 +00:00
Justin Cormack
3505253d84 Merge pull request #692 from justincormack/vmlinux
Keep vmlinux in build media for kernel debugging
2016-11-07 15:55:31 +00:00
Justin Cormack
d0f48bb36d Merge pull request #693 from justincormack/smaller-media
Do not include non-efi ISO in media
2016-11-07 14:57:37 +00:00
Justin Cormack
5256e9e4e7 Keep vmlinux in build media for kernel debugging
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-07 14:45:37 +00:00
Justin Cormack
255cebca11 Do not include non-efi ISO in media
We are not using this for editions.

We should be able to make a dual boot ISO, or you can create from the other
artefacts anyway.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-07 14:37:24 +00:00
Justin Cormack
a6ecd90a93 Merge pull request #687 from justincormack/curlup
Curl security update
2016-11-06 19:39:30 +00:00
Justin Cormack
b08fc08db6 Curl security update
Upgrade to 7.51, fix the following CVEs

  CVE-2016-7141, CVE-2016-7167, CVE-2016-8615, CVE-2016-8616,
  CVE-2016-8617, CVE-2016-8618, CVE-2016-8619, CVE-2016-8620,
  CVE-2016-8621, CVE-2016-8622, CVE-2016-8623, CVE-2016-8624

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-06 19:32:19 +00:00
Nathan LeClaire
c5e76aa5a5 Add support for building smaller Azure VHD for development
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-11-04 17:14:33 -07:00
Justin Cormack
c5c94a565e Merge pull request #680 from justincormack/diagnostics-mount
Improve matching of mounted drive in diagnostics
2016-11-04 15:24:44 +00:00
Justin Cormack
44bc83b7d9 Improve matching of mounted drive in diagnostics
Was failing on AWS as drive did not match patter that was too precise.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-04 14:09:12 +00:00
Justin Cormack
aaa3ebaa06 Merge pull request #678 from justincormack/checkup
Update check-config script
2016-11-04 09:48:12 +00:00
Justin Cormack
de81602c68 Update check-config script
Now returns error if checks do not pass.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-04 09:40:15 +00:00
Justin Cormack
1672c5ded7 Merge pull request #674 from nathanleclaire/migrate_storage_account
Migrate default storage account
2016-11-03 08:55:34 +00:00
Nathan LeClaire
581567e79c Migrate default storage account
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-11-02 16:30:36 -07:00
Justin Cormack
7752c39b73 Merge pull request #672 from justincormack/configup
Update check-config script
2016-11-02 21:11:36 +00:00
Nathan LeClaire
0fb36c60a6 Merge pull request #579 from justincormack/vhdfix2
Use alpine to do raw2vhd
2016-11-02 13:26:00 -07:00
Justin Cormack
e09867cd57 Merge pull request #670 from justincormack/ipvsadm
Add ipvsadm for debugging
2016-11-02 20:09:07 +00:00
Justin Cormack
2ad01784ab Merge pull request #671 from justincormack/split-hostsettings
Split out Windows network config from hostsettings
2016-11-02 20:08:12 +00:00
Justin Cormack
e337dafea9 Update check-config script
Now misses the ext3 error messages.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-02 20:05:48 +00:00
Justin Cormack
90d2d1ef45 Split out Windows network config from hostsettings
On cloud editions eg AWS settings may come from the network, so
we need to move this to after network setup, while the Windows
network config changes need to happen before, so split the init script.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-02 14:49:24 +00:00
Justin Cormack
edde24b319 Add ipvsadm for debugging
Fix #437

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-02 00:10:16 +00:00
Justin Cormack
b8baec0835 Merge pull request #668 from justincormack/kernelup
update Linux to 4.4.30
2016-11-01 22:17:08 +00:00
Justin Cormack
a77b91a022 update Linux to 4.4.30
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 20:50:12 +00:00
Justin Cormack
503eb2dcaf Merge pull request #663 from justincormack/curl-fail
make curl fail on 404
2016-11-01 19:55:55 +00:00
Justin Cormack
df558656d3 Merge pull request #666 from justincormack/fsck
fsck filesystem before mount
2016-11-01 16:10:05 +00:00
Justin Cormack
76e902926a fsck filesystem before mount
Use fsck -p to fix errors that are fixable.

Note this will recreate the filesystem on fatal errors.

Fix #665

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 16:01:08 +00:00
Justin Cormack
c758ca67ce make curl fail on 404
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 13:58:02 +00:00
Justin Cormack
18a507cc33 Merge pull request #662 from justincormack/repeat-ami
Add a base image for building AMIs
2016-11-01 13:47:51 +00:00
Justin Cormack
07126f490b Add a base image for building AMIs
Faster and more repeatable. As the Alpine edge package is not
working, use pip.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-11-01 13:26:44 +00:00
Justin Cormack
a4f15eba54 Merge pull request #659 from justincormack/hyperkit-tweak
improve hyperkit build to do sudo in the right place
2016-10-31 16:14:00 +00:00
Justin Cormack
f9563cff68 improve hyperkit build to do sudo in the right place
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-31 16:04:25 +00:00
Justin Cormack
ff5cf260fc Merge pull request #658 from justincormack/hyperkit
Add hyperkit build
2016-10-31 15:43:50 +00:00
Justin Cormack
bd839a3cf8 Add hyperkit build
Useful for local performance tests

Fix #443

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-31 15:34:56 +00:00
Justin Cormack
8966111b63 Merge pull request #657 from justincormack/kernelup
Linux 4.4.29
2016-10-31 13:41:41 +00:00
Justin Cormack
4bf6d527c4 Merge pull request #653 from justincormack/audit
Add audit to kernel config
2016-10-31 13:15:49 +00:00
Justin Cormack
ecc511b0a2 Linux 4.4.29
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-31 13:12:43 +00:00
Justin Cormack
c5e1bf4498 Merge pull request #654 from justincormack/net-sysctl
Increase neighbor cache threshold values
2016-10-28 22:30:10 +01:00
Justin Cormack
248a3c39f9 Increase neighbor cache threshold values
Needed for larger clusters.

Needed for https://github.com/docker/editions/issues/377

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-28 22:25:36 +01:00
Justin Cormack
81cf1eeed4 Add audit to kernel config
Currently just has syscall audit as no LSM.

See #52

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-28 18:12:51 +01:00
Justin Cormack
61bcb19ba5 Merge pull request #651 from justincormack/kernelup
upgrade Linux to 2.4.28
2016-10-28 15:08:45 +01:00
Justin Cormack
08fd4f9f19 upgrade Linux to 2.4.28
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-28 14:09:20 +01:00
Justin Cormack
b00f0d8f32 Merge pull request #645 from justincormack/check-config
Add check-config container and test
2016-10-28 12:53:17 +01:00
Justin Cormack
8cfc2c753f Add check-config container and test
Currently the test will never fail, planning to fix this upstream.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-28 12:39:31 +01:00
Justin Cormack
1a0b395496 Merge pull request #644 from justincormack/kernel-ops
Add Memory Resource Controller Kernel Memory accounting cgroup support
2016-10-28 11:33:12 +01:00
Justin Cormack
80849b4ac3 Add Memory Resource Controller Kernel Memory accounting cgroup support
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-28 11:06:07 +01:00