Permalink
Browse files

Merge pull request #3104 from rn/rel_v0.5

Preparation for v0.5 release
  • Loading branch information...
rn committed Jul 10, 2018
2 parents 4eddd90 + 3181a8f commit 811ba12cb081ea27e94b694c6bc2b33578a6bf35
Showing with 790 additions and 745 deletions.
  1. +1 −0 .mailmap
  2. +5 −0 AUTHORS
  3. +23 −0 CHANGELOG.md
  4. +2 −2 Makefile
  5. +4 −4 contrib/crosvm/README.md
  6. +16 −0 docs/releasing.md
  7. +2 −2 docs/vendoring.md
  8. +9 −9 examples/aws.yml
  9. +8 −8 examples/azure.yml
  10. +13 −13 examples/cadvisor.yml
  11. +20 −20 examples/docker-for-mac.yml
  12. +13 −13 examples/docker.yml
  13. +10 −10 examples/gcp.yml
  14. +8 −8 examples/getty.yml
  15. +8 −8 examples/hostmount-writeable-overlay.yml
  16. +6 −6 examples/influxdb-os.yml
  17. +10 −10 examples/logging.yml
  18. +5 −5 examples/minimal.yml
  19. +7 −7 examples/node_exporter.yml
  20. +9 −9 examples/openstack.yml
  21. +1 −1 examples/packet.arm64.yml
  22. +12 −12 examples/packet.yml
  23. +5 −5 examples/redis-os.yml
  24. +9 −9 examples/rt-for-vmware.yml
  25. +10 −10 examples/scaleway.yml
  26. +10 −10 examples/sshd.yml
  27. +11 −11 examples/swap.yml
  28. +9 −9 examples/tpm.yml
  29. +8 −8 examples/vmware.yml
  30. +6 −6 examples/vpnkit-forwarder.yml
  31. +5 −5 examples/vsudd-containerd.yml
  32. +10 −10 examples/vultr.yml
  33. +10 −10 examples/wireguard.yml
  34. +8 −8 linuxkit.yml
  35. +2 −2 pkg/acpid/Dockerfile
  36. +1 −1 pkg/auditd/Dockerfile
  37. +1 −1 pkg/binfmt/Dockerfile
  38. +1 −1 pkg/ca-certificates/Dockerfile
  39. +3 −3 pkg/cadvisor/Dockerfile
  40. +1 −1 pkg/dhcpcd/Dockerfile
  41. +2 −2 pkg/extend/Dockerfile
  42. +2 −2 pkg/firmware-all/Dockerfile
  43. +2 −2 pkg/firmware/Dockerfile
  44. +2 −2 pkg/format/Dockerfile
  45. +1 −1 pkg/getty/Dockerfile
  46. +1 −1 pkg/host-timesync-daemon/Dockerfile
  47. +1 −1 pkg/ip/Dockerfile
  48. +1 −1 pkg/kmsg/Dockerfile
  49. +1 −1 pkg/logwrite/Dockerfile
  50. +1 −1 pkg/memlogd/Dockerfile
  51. +1 −1 pkg/metadata/Dockerfile
  52. +1 −1 pkg/mkimage/Dockerfile
  53. +1 −1 pkg/modprobe/Dockerfile
  54. +2 −2 pkg/mount/Dockerfile
  55. +2 −2 pkg/node_exporter/Dockerfile
  56. +1 −1 pkg/open-vm-tools/Dockerfile
  57. +1 −1 pkg/openntpd/Dockerfile
  58. +1 −1 pkg/qemu-ga/Dockerfile
  59. +1 −1 pkg/rngd/Dockerfile
  60. +1 −1 pkg/runc/Dockerfile
  61. +1 −1 pkg/sshd/Dockerfile
  62. +1 −1 pkg/swap/Dockerfile
  63. +1 −1 pkg/sysctl/Dockerfile
  64. +1 −1 pkg/sysfs/Dockerfile
  65. +1 −1 pkg/trim-after-delete/Dockerfile
  66. +3 −3 pkg/tss/Dockerfile
  67. +1 −1 pkg/vpnkit-expose-port/Dockerfile
  68. +1 −1 pkg/vpnkit-forwarder/Dockerfile
  69. +1 −1 pkg/vsudd/Dockerfile
  70. +1 −1 projects/clear-containers/clear-containers.yml
  71. +11 −11 projects/compose/compose-dynamic.yml
  72. +11 −11 projects/compose/compose-static.yml
  73. +7 −7 projects/ima-namespace/ima-namespace.yml
  74. +1 −1 projects/landlock/landlock.yml
  75. +5 −5 projects/memorizer/memorizer.yml
  76. +8 −8 projects/miragesdk/examples/fdd.yml
  77. +6 −6 projects/miragesdk/examples/mirage-dhcp.yml
  78. +7 −7 projects/okernel/examples/okernel_simple.yaml
  79. +8 −8 projects/shiftfs/shiftfs.yml
  80. +7 −7 src/cmd/linuxkit/main.go
  81. +1 −1 src/cmd/linuxkit/run_qemu.go
  82. +3 −3 test/cases/000_build/000_formats/test.yml
  83. +3 −3 test/cases/010_platforms/000_qemu/000_run_kernel+initrd/test.yml
  84. +3 −3 test/cases/010_platforms/000_qemu/005_run_kernel+squashfs/test.yml
  85. +3 −3 test/cases/010_platforms/000_qemu/010_run_iso/test.yml
  86. +3 −3 test/cases/010_platforms/000_qemu/020_run_efi/test.yml
  87. +3 −3 test/cases/010_platforms/000_qemu/030_run_qcow_bios/test.yml
  88. +3 −3 test/cases/010_platforms/000_qemu/040_run_raw_bios/test.yml
  89. +3 −3 test/cases/010_platforms/000_qemu/050_run_aws/test.yml
  90. +3 −3 test/cases/010_platforms/000_qemu/100_container/test.yml
  91. +3 −3 test/cases/010_platforms/010_hyperkit/000_run_kernel+initrd/test.yml
  92. +3 −3 test/cases/010_platforms/010_hyperkit/005_run_kernel+squashfs/test.yml
  93. +4 −4 test/cases/010_platforms/010_hyperkit/010_acpi/test.yml
  94. +4 −4 test/cases/020_kernel/000_config_4.4.x/test.yml
  95. +4 −4 test/cases/020_kernel/001_config_4.9.x/test.yml
  96. +4 −4 test/cases/020_kernel/006_config_4.14.x/test.yml
  97. +4 −4 test/cases/020_kernel/009_config_4.17.x/test.yml
  98. +3 −3 test/cases/020_kernel/010_kmod_4.4.x/test.yml
  99. +3 −3 test/cases/020_kernel/011_kmod_4.9.x/test.yml
  100. +3 −3 test/cases/020_kernel/016_kmod_4.14.x/test.yml
  101. +3 −3 test/cases/020_kernel/019_kmod_4.17.x/test.yml
  102. +2 −2 test/cases/020_kernel/110_namespace/010_veth/010_echo-tcp-ipv4-short-1con-single-reverse/test.yml
  103. +2 −2 test/cases/020_kernel/110_namespace/010_veth/010_echo-tcp-ipv4-short-1con-single/test.yml
  104. +2 −2 test/cases/020_kernel/110_namespace/010_veth/011_echo-tcp-ipv4-short-10con-single-reverse/test.yml
  105. +2 −2 test/cases/020_kernel/110_namespace/010_veth/011_echo-tcp-ipv4-short-10con-single/test.yml
  106. +2 −2 test/cases/020_kernel/110_namespace/010_veth/012_echo-tcp-ipv4-short-5con-multi-reverse/test.yml
  107. +2 −2 test/cases/020_kernel/110_namespace/010_veth/012_echo-tcp-ipv4-short-5con-multi/test.yml
  108. +2 −2 test/cases/020_kernel/110_namespace/010_veth/015_echo-tcp-ipv4-long-1con-single-reverse/test.yml
  109. +2 −2 test/cases/020_kernel/110_namespace/010_veth/015_echo-tcp-ipv4-long-1con-single/test.yml
  110. +2 −2 test/cases/020_kernel/110_namespace/010_veth/016_echo-tcp-ipv4-long-10con-single-reverse/test.yml
  111. +2 −2 test/cases/020_kernel/110_namespace/010_veth/016_echo-tcp-ipv4-long-10con-single/test.yml
  112. +2 −2 test/cases/020_kernel/110_namespace/010_veth/017_echo-tcp-ipv4-long-5con-multi-reverse/test.yml
  113. +2 −2 test/cases/020_kernel/110_namespace/010_veth/017_echo-tcp-ipv4-long-5con-multi/test.yml
  114. +2 −2 test/cases/020_kernel/110_namespace/010_veth/020_echo-tcp-ipv6-short-1con-single-reverse/test.yml
  115. +2 −2 test/cases/020_kernel/110_namespace/010_veth/020_echo-tcp-ipv6-short-1con-single/test.yml
  116. +2 −2 test/cases/020_kernel/110_namespace/010_veth/021_echo-tcp-ipv6-short-10con-single-reverse/test.yml
  117. +2 −2 test/cases/020_kernel/110_namespace/010_veth/021_echo-tcp-ipv6-short-10con-single/test.yml
  118. +2 −2 test/cases/020_kernel/110_namespace/010_veth/022_echo-tcp-ipv6-short-5con-multi-reverse/test.yml
  119. +2 −2 test/cases/020_kernel/110_namespace/010_veth/022_echo-tcp-ipv6-short-5con-multi/test.yml
  120. +2 −2 test/cases/020_kernel/110_namespace/010_veth/025_echo-tcp-ipv6-long-1con-single-reverse/test.yml
  121. +2 −2 test/cases/020_kernel/110_namespace/010_veth/025_echo-tcp-ipv6-long-1con-single/test.yml
  122. +2 −2 test/cases/020_kernel/110_namespace/010_veth/026_echo-tcp-ipv6-long-10con-single-reverse/test.yml
  123. +2 −2 test/cases/020_kernel/110_namespace/010_veth/026_echo-tcp-ipv6-long-10con-single/test.yml
  124. +2 −2 test/cases/020_kernel/110_namespace/010_veth/027_echo-tcp-ipv6-long-5con-multi-reverse/test.yml
  125. +2 −2 test/cases/020_kernel/110_namespace/010_veth/027_echo-tcp-ipv6-long-5con-multi/test.yml
  126. +2 −2 test/cases/020_kernel/110_namespace/010_veth/030_echo-udp-ipv4-short-1con-single-reverse/test.yml
  127. +2 −2 test/cases/020_kernel/110_namespace/010_veth/030_echo-udp-ipv4-short-1con-single/test.yml
  128. +2 −2 test/cases/020_kernel/110_namespace/010_veth/031_echo-udp-ipv4-short-10con-single-reverse/test.yml
  129. +2 −2 test/cases/020_kernel/110_namespace/010_veth/031_echo-udp-ipv4-short-10con-single/test.yml
  130. +2 −2 test/cases/020_kernel/110_namespace/010_veth/032_echo-udp-ipv4-short-5con-multi-reverse/test.yml
  131. +2 −2 test/cases/020_kernel/110_namespace/010_veth/032_echo-udp-ipv4-short-5con-multi/test.yml
  132. +2 −2 test/cases/020_kernel/110_namespace/010_veth/035_echo-udp-ipv4-long-1con-single-reverse/test.yml
  133. +2 −2 test/cases/020_kernel/110_namespace/010_veth/035_echo-udp-ipv4-long-1con-single/test.yml
  134. +2 −2 test/cases/020_kernel/110_namespace/010_veth/036_echo-udp-ipv4-long-10con-single-reverse/test.yml
  135. +2 −2 test/cases/020_kernel/110_namespace/010_veth/036_echo-udp-ipv4-long-10con-single/test.yml
  136. +2 −2 test/cases/020_kernel/110_namespace/010_veth/037_echo-udp-ipv4-long-5con-multi-reverse/test.yml
  137. +2 −2 test/cases/020_kernel/110_namespace/010_veth/037_echo-udp-ipv4-long-5con-multi/test.yml
  138. +2 −2 test/cases/020_kernel/110_namespace/010_veth/040_echo-udp-ipv6-short-1con-single-reverse/test.yml
  139. +2 −2 test/cases/020_kernel/110_namespace/010_veth/040_echo-udp-ipv6-short-1con-single/test.yml
  140. +2 −2 test/cases/020_kernel/110_namespace/010_veth/041_echo-udp-ipv6-short-10con-single-reverse/test.yml
  141. +2 −2 test/cases/020_kernel/110_namespace/010_veth/041_echo-udp-ipv6-short-10con-single/test.yml
  142. +2 −2 test/cases/020_kernel/110_namespace/010_veth/042_echo-udp-ipv6-short-5con-multi-reverse/test.yml
  143. +2 −2 test/cases/020_kernel/110_namespace/010_veth/042_echo-udp-ipv6-short-5con-multi/test.yml
  144. +2 −2 test/cases/020_kernel/110_namespace/010_veth/045_echo-udp-ipv6-long-1con-single-reverse/test.yml
  145. +2 −2 test/cases/020_kernel/110_namespace/010_veth/045_echo-udp-ipv6-long-1con-single/test.yml
  146. +2 −2 test/cases/020_kernel/110_namespace/010_veth/046_echo-udp-ipv6-long-10con-single-reverse/test.yml
  147. +2 −2 test/cases/020_kernel/110_namespace/010_veth/046_echo-udp-ipv6-long-10con-single/test.yml
  148. +2 −2 test/cases/020_kernel/110_namespace/010_veth/047_echo-udp-ipv6-long-5con-multi-reverse/test.yml
  149. +2 −2 test/cases/020_kernel/110_namespace/010_veth/047_echo-udp-ipv6-long-5con-multi/test.yml
  150. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/010_echo-short-1con-single-reverse/test.yml
  151. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/010_echo-short-1con-single/test.yml
  152. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/011_echo-short-10con-single-reverse/test.yml
  153. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/011_echo-short-10con-single/test.yml
  154. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/012_echo-short-5con-multi-reverse/test.yml
  155. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/012_echo-short-5con-multi/test.yml
  156. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/015_echo-long-1con-single-reverse/test.yml
  157. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/015_echo-long-1con-single/test.yml
  158. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/016_echo-long-10con-single-reverse/test.yml
  159. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/016_echo-long-10con-single/test.yml
  160. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/017_echo-long-5con-multi-reverse/test.yml
  161. +2 −2 test/cases/020_kernel/110_namespace/050_unix-domain/017_echo-long-5con-multi/test.yml
  162. +2 −2 test/cases/020_kernel/110_namespace/100_mix/010_veth-unix-domain-echo/test.yml
  163. +2 −2 test/cases/020_kernel/110_namespace/100_mix/011_veth-unix-domain-echo-reverse/test.yml
  164. +2 −2 test/cases/020_kernel/110_namespace/100_mix/012_veth-ipv4-echo/test.yml
  165. +2 −2 test/cases/020_kernel/110_namespace/100_mix/013_veth-ipv6-echo/test.yml
  166. +2 −2 test/cases/020_kernel/110_namespace/100_mix/014_veth-tcp-echo/test.yml
  167. +2 −2 test/cases/020_kernel/110_namespace/100_mix/015_veth-udp-echo/test.yml
  168. +2 −2 test/cases/020_kernel/110_namespace/100_mix/020_unix-domain-echo/test.yml
  169. +2 −2 test/cases/020_kernel/110_namespace/common.yml
  170. +11 −11 test/cases/030_security/000_docker-bench/test.yml
  171. +3 −3 test/cases/030_security/010_ports/test.yml
  172. +4 −4 test/cases/040_packages/002_binfmt/test.yml
  173. +4 −4 test/cases/040_packages/003_ca-certificates/test.yml
  174. +9 −9 test/cases/040_packages/003_containerd/test.yml
  175. +4 −4 test/cases/040_packages/004_dhcpcd/test.yml
  176. +5 −5 test/cases/040_packages/005_extend/000_ext4/test-create.yml
  177. +5 −5 test/cases/040_packages/005_extend/000_ext4/test.yml
  178. +6 −6 test/cases/040_packages/005_extend/001_btrfs/test-create.yml
  179. +6 −6 test/cases/040_packages/005_extend/001_btrfs/test.yml
  180. +5 −5 test/cases/040_packages/005_extend/002_xfs/test-create.yml
  181. +5 −5 test/cases/040_packages/005_extend/002_xfs/test.yml
  182. +5 −5 test/cases/040_packages/006_format_mount/000_auto/test.yml
  183. +5 −5 test/cases/040_packages/006_format_mount/001_by_label/test.yml
  184. +5 −5 test/cases/040_packages/006_format_mount/002_by_name/test.yml.in
  185. +6 −6 test/cases/040_packages/006_format_mount/003_btrfs/test.yml
  186. +5 −5 test/cases/040_packages/006_format_mount/004_xfs/test.yml
  187. +8 −8 test/cases/040_packages/006_format_mount/005_by_device_force/test.yml
  188. +7 −7 test/cases/040_packages/006_format_mount/010_multiple/test.yml
  189. +6 −6 test/cases/040_packages/007_getty-containerd/test.yml
  190. +4 −4 test/cases/040_packages/013_mkimage/mkimage.yml
  191. +3 −3 test/cases/040_packages/013_mkimage/run.yml
  192. +4 −4 test/cases/040_packages/019_sysctl/test.yml
  193. +7 −7 test/cases/040_packages/023_wireguard/test.yml
  194. +6 −6 test/cases/040_packages/030_logwrite/test.yml
  195. +7 −7 test/cases/040_packages/031_kmsg/test.yml
  196. +4 −4 test/hack/test-ltp.yml
  197. +6 −6 test/hack/test.yml
  198. +1 −1 test/pkg/docker-bench/Dockerfile
  199. +1 −1 test/pkg/kernel-config/Dockerfile
  200. +2 −2 test/pkg/ns/Dockerfile
  201. +3 −3 test/pkg/ns/template.yml
  202. +1 −1 test/pkg/poweroff/Dockerfile
  203. +2 −2 test/pkg/virtsock/Dockerfile
  204. +1 −1 tools/go-compile/Dockerfile
  205. +1 −1 tools/mkimage-iso-bios/Dockerfile
  206. +2 −2 tools/mkimage-iso-efi/Dockerfile
  207. +2 −2 tools/mkimage-qcow2-efi/Dockerfile
  208. +1 −1 tools/mkimage-raw-bios/Dockerfile
  209. +2 −2 tools/mkimage-raw-efi/Dockerfile
  210. +1 −1 tools/mkimage-rpi3/Dockerfile
  211. +1 −1 tools/mkimage-squashfs/Dockerfile
  212. +1 −1 tools/qemu/Dockerfile
@@ -32,6 +32,7 @@ Jeff Wu <jeff.wu.junfei@gmail.com> <JeffWuBJ@users.noreply.github.com>
Jeremy Yallop <yallop@docker.com> <yallop@gmail.com>
Justin Cormack <justin.cormack@docker.com> <justin.cormack@unikernel.com>
Justin Cormack <justin.cormack@docker.com> <justin@specialbusservice.com>
Justin Barrick <jbarrick@cloudflare.com>
Ken Cochrane <ken.cochrane@docker.com> <KenCochrane@gmail.com>
Magnus Skjegstad <magnus.skjegstad@docker.com> <magnus@skjegstad.com>
Marten Cassel <marten.cassel@gmail.com> <mcpop28@hotmail.com>
@@ -3,12 +3,14 @@

Ajeet Singh Raina, Docker Captain, {Code} Catalysts, Dell EMC R&D <ajeetraina@gmail.com>
Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Alan Raison <alanraison@users.noreply.github.com>
Alex Johnson <hello@alex-johnson.net>
Alice Frosi <alice@linux.vnet.ibm.com>
Amir Chaudhry <amir.chaudhry@docker.com>
Anil Madhavapeddy <anil.madhavapeddy@docker.com>
Avi Deitcher <avi@deitcher.net>
Bill Kerr <bill@generalbill.com>
Brice Figureau <brice-puppet@daysofwonder.com>
Carlton-Semple <carlton.semple@ibm.com>
Craig Ingram <cingram@heroku.com>
Damiano Donati <damiano.donati@gmail.com>
@@ -47,6 +49,7 @@ Jes Ferrier <jes.ferrier@gmail.com>
Jesse Adametz <jesseadametz@gmail.com>
John Albietz <inthecloud247@gmail.com>
Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
Justin Barrick <jbarrick@cloudflare.com>
Justin Cormack <justin.cormack@docker.com>
Justin Ko <justin.ko@oracle.com>
Ken Cochrane <ken.cochrane@docker.com>
@@ -60,6 +63,7 @@ Magnus Skjegstad <magnus.skjegstad@docker.com>
Marco Mariani <marco.mariani@alterway.fr>
Marcus van Dam <marcus@marcusvandam.nl>
marten <marten.cassel@gmail.com>
Mathieu Champlon <mathieu.champlon@docker.com>
Mathieu Pasquet <mathieu.pasquet@alterway.fr>
Matt Bajor <matt.bajor@workday.com>
Matt Bentley <matt.bentley@docker.com>
@@ -76,6 +80,7 @@ Niclas Mietz <niclas@mietz.io>
Nico Di Rocco <dirocco.nico@gmail.com>
Olaf Bergner <olaf.bergner@gmx.de>
Olaf Flebbe <of@oflebbe.de>
Patrik Cyvoct <patrik@ptrk.io>
Phil Estes <estesp@linux.vnet.ibm.com>
Pierre Gayvallet <pierre.gayvallet@docker.com>
Pratik Mallya <mallya@us.ibm.com>
@@ -3,6 +3,29 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [v0.5] - 2018-07-10
### Added
- New logging support with log rotation.
- Scaleway provider.
- Support for v4.17.x kernels.
- Kernel source are not included in the kernel packages.
- Improved documentation about debugging LinuxKit.

### Changed
- Switched to Alpine Linux 3.8 as the base.
- `containerd` updated to v1.1.1.
- `pkg/cadvisor` updated to v0.30.2
- `pkg/node_exporter` updated to 0.16.0
- WireGuard updated to 0.0.20180708.
- Linux firmware binaries update to latest.
- Improved support for building on Windows.
- Improved support for AWS/GCP metadata.
- Better handling of reboot/poweroff.

### Removed
- Support for v4.16.x. kernels as they have been EOLed.


## [v0.4] - 2018-05-12
### Added
- Support for v4.16.x kernels.
@@ -1,7 +1,7 @@
VERSION="v0.4+"
VERSION="v0.5"
GIT_COMMIT=$(shell git rev-list -1 HEAD)

GO_COMPILE=linuxkit/go-compile:a8031514cbd017cd10207de56be3434b9d7c6fd7
GO_COMPILE=linuxkit/go-compile:49a2e8f8672ca95ad0159eebcc631773503465c1

ifeq ($(OS),Windows_NT)
LINUXKIT?=bin/linuxkit.exe
@@ -33,12 +33,12 @@ kernel:
image: linuxkit/kernel:4.9.91
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:317b039710f39b0263981cff25cf873043baf561
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
- linuxkit/containerd:9924cc405996bc43a61e050e70284372d2cb09b8
- linuxkit/init:v0.5
- linuxkit/runc:v0.5
- linuxkit/containerd:v0.5
services:
- name: getty
image: linuxkit/getty:3763a7fc3fddedc185bbd6f7f583f729e57fbeda
image: linuxkit/getty:v0.5
env:
- INSECURE=true
trust:
@@ -182,13 +182,29 @@ Next, we update the LinuxKit packages. This is really the core of the
release. The other steps above are just there to ensure consistency
across packages.


```sh
cd $LK_ROOT/pkg
../scripts/update-component-sha.sh --image linuxkit/alpine:$LK_ALPINE
git commit -a -s -m "pkgs: Update packages to latest alpine base"
git push $LK_REMOTE rel_$LK_RELEASE
```

Most of the packages are build from `linuxkit/alpine` and source code
in the `linuxkit` repository, but some packages wrap external
tools. The time of a release is a good opportunity to check if there
have been updates. Specifically:

- `pkg/cadvisor`: Check for [new releases](https://github.com/google/cadvisor/releases).
- `pkg/firmware` and `pkg/firmware-all`: Use latest commit from [here](https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git).
- `pkg/node_exporter`: Check for [new releases](https://github.com/prometheus/node_exporter/releases).
- `example/docker.yml`: Check [docker hub](https://hub.docker.com/r/library/docker/tags/) for the latest `dind` tags.

The build/push the packages:

```sh
cd $LK_ROOT/pkg
make OPTIONS="-release $LK_RELEASE" push
```

@@ -28,7 +28,7 @@ docker run -it --rm \
-v $(pwd):/go/src/github.com/linuxkit/linuxkit \
-w /go/src/github.com/linuxkit/linuxkit/src/cmd/linuxkit \
--entrypoint /go/bin/vndr \
linuxkit/go-compile:a8031514cbd017cd10207de56be3434b9d7c6fd7
linuxkit/go-compile:49a2e8f8672ca95ad0159eebcc631773503465c1
```

To update a single dependency:
@@ -38,7 +38,7 @@ docker run -it --rm \
-v $(pwd):/go/src/github.com/linuxkit/linuxkit \
-w /go/src/github.com/linuxkit/linuxkit/src/cmd/linuxkit \
--entrypoint /go/bin/vndr \
linuxkit/go-compile:a8031514cbd017cd10207de56be3434b9d7c6fd7
linuxkit/go-compile:49a2e8f8672ca95ad0159eebcc631773503465c1
github.com/docker/docker
```

@@ -2,23 +2,23 @@ kernel:
image: linuxkit/kernel:4.14.54
cmdline: "console=ttyS0"
init:
- linuxkit/init:317b039710f39b0263981cff25cf873043baf561
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
- linuxkit/containerd:9924cc405996bc43a61e050e70284372d2cb09b8
- linuxkit/ca-certificates:ce2692e89d2be341b0d3caa0b0aa01b37d5d0694
- linuxkit/init:v0.5
- linuxkit/runc:v0.5
- linuxkit/containerd:v0.5
- linuxkit/ca-certificates:v0.5
onboot:
- name: sysctl
image: linuxkit/sysctl:6f96e509c7383b31dfdd2c3e9fa01c6ab3e4c586
image: linuxkit/sysctl:v0.5
- name: dhcpcd
image: linuxkit/dhcpcd:0aa201ad1a4c134f0ed6ab2cec23602d5ee73d7f
image: linuxkit/dhcpcd:v0.5
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:7d885acd45923cc3406a40dc4fa4be24903e3cd2
image: linuxkit/metadata:v0.5
services:
- name: rngd
image: linuxkit/rngd:68dbb9f121634e7fcf538ab1c54f3eb2e2430e85
image: linuxkit/rngd:v0.5
- name: sshd
image: linuxkit/sshd:ae16b868747913bad83ad1b5823669eff1563013
image: linuxkit/sshd:v0.5
binds:
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx
@@ -2,20 +2,20 @@ kernel:
image: linuxkit/kernel:4.14.54
cmdline: "console=ttyS0"
init:
- linuxkit/init:317b039710f39b0263981cff25cf873043baf561
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
- linuxkit/containerd:9924cc405996bc43a61e050e70284372d2cb09b8
- linuxkit/ca-certificates:ce2692e89d2be341b0d3caa0b0aa01b37d5d0694
- linuxkit/init:v0.5
- linuxkit/runc:v0.5
- linuxkit/containerd:v0.5
- linuxkit/ca-certificates:v0.5
onboot:
- name: sysctl
image: linuxkit/sysctl:6f96e509c7383b31dfdd2c3e9fa01c6ab3e4c586
image: linuxkit/sysctl:v0.5
services:
- name: rngd
image: linuxkit/rngd:68dbb9f121634e7fcf538ab1c54f3eb2e2430e85
image: linuxkit/rngd:v0.5
- name: dhcpcd
image: linuxkit/dhcpcd:0aa201ad1a4c134f0ed6ab2cec23602d5ee73d7f
image: linuxkit/dhcpcd:v0.5
- name: sshd
image: linuxkit/sshd:ae16b868747913bad83ad1b5823669eff1563013
image: linuxkit/sshd:v0.5
files:
- path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub
@@ -2,33 +2,33 @@ kernel:
image: linuxkit/kernel:4.14.54
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:317b039710f39b0263981cff25cf873043baf561
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
- linuxkit/containerd:9924cc405996bc43a61e050e70284372d2cb09b8
- linuxkit/ca-certificates:ce2692e89d2be341b0d3caa0b0aa01b37d5d0694
- linuxkit/init:v0.5
- linuxkit/runc:v0.5
- linuxkit/containerd:v0.5
- linuxkit/ca-certificates:v0.5
onboot:
- name: sysctl
image: linuxkit/sysctl:6f96e509c7383b31dfdd2c3e9fa01c6ab3e4c586
image: linuxkit/sysctl:v0.5
- name: dhcpcd
image: linuxkit/dhcpcd:0aa201ad1a4c134f0ed6ab2cec23602d5ee73d7f
image: linuxkit/dhcpcd:v0.5
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: sysfs
image: linuxkit/sysfs:6d1b016e1a7834ccc72bd4570fadd22933665ec8
image: linuxkit/sysfs:v0.5
- name: format
image: linuxkit/format:c5e3200c3eeaed2652314869c08197098fd1f843
image: linuxkit/format:v0.5
- name: mount
image: linuxkit/mount:6b25743397b520924de11f96e3eeb613aa04a507
image: linuxkit/mount:v0.5
command: ["/usr/bin/mountie", "/var/lib/docker"]

services:
- name: getty
image: linuxkit/getty:3763a7fc3fddedc185bbd6f7f583f729e57fbeda
image: linuxkit/getty:v0.5
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:68dbb9f121634e7fcf538ab1c54f3eb2e2430e85
image: linuxkit/rngd:v0.5
- name: ntpd
image: linuxkit/openntpd:2f13536030a04f93cfaa02f816fe24f536c9943c
image: linuxkit/openntpd:v0.5

- name: docker
image: docker:17.10.0-ce-dind
@@ -46,7 +46,7 @@ services:
- /etc/docker/daemon.json:/etc/docker/daemon.json
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: cadvisor
image: linuxkit/cadvisor:9d0f7fc85a4cf50ee3fa68c83e89593f1db80d24
image: linuxkit/cadvisor:v0.5
files:
- path: var/lib/docker
directory: true
@@ -3,30 +3,30 @@ kernel:
image: linuxkit/kernel:4.14.54
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/vpnkit-expose-port:9899eef84d0a881b6a5ca5a4b4bb71e382435cb5 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
- linuxkit/init:317b039710f39b0263981cff25cf873043baf561
- linuxkit/runc:01b4f0706d999f9065ef44492689e43d0bcd83c5
- linuxkit/containerd:9924cc405996bc43a61e050e70284372d2cb09b8
- linuxkit/ca-certificates:ce2692e89d2be341b0d3caa0b0aa01b37d5d0694
- linuxkit/vpnkit-expose-port:v0.5 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
- linuxkit/init:v0.5
- linuxkit/runc:v0.5
- linuxkit/containerd:v0.5
- linuxkit/ca-certificates:v0.5
onboot:
# support metadata for optional config in /run/config
- name: metadata
image: linuxkit/metadata:7d885acd45923cc3406a40dc4fa4be24903e3cd2
image: linuxkit/metadata:v0.5
- name: sysctl
image: linuxkit/sysctl:6f96e509c7383b31dfdd2c3e9fa01c6ab3e4c586
image: linuxkit/sysctl:v0.5
- name: sysfs
image: linuxkit/sysfs:6d1b016e1a7834ccc72bd4570fadd22933665ec8
image: linuxkit/sysfs:v0.5
- name: binfmt
image: linuxkit/binfmt:b0d833f5ecd26d6cb991622b1234afd9a0f6ee31
image: linuxkit/binfmt:v0.5
# Format and mount the disk image in /var/lib/docker
- name: format
image: linuxkit/format:c5e3200c3eeaed2652314869c08197098fd1f843
image: linuxkit/format:v0.5
- name: mount
image: linuxkit/mount:6b25743397b520924de11f96e3eeb613aa04a507
image: linuxkit/mount:v0.5
command: ["/usr/bin/mountie", "/var/lib"]
# make a swap file on the mounted disk
- name: swap
image: linuxkit/swap:e73f719b467e3dcb1eec85f1f1fd5d32fe1140bf
image: linuxkit/swap:v0.5
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
- name: mount-vpnkit
@@ -44,41 +44,41 @@ onboot:
- /var:/host_var
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
- name: dhcpcd
image: linuxkit/dhcpcd:0aa201ad1a4c134f0ed6ab2cec23602d5ee73d7f
image: linuxkit/dhcpcd:v0.5
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
# Enable acpi to shutdown on power events
- name: acpid
image: linuxkit/acpid:80b486a60dd0d55233e560db1ff096b1d5b35bbd
image: linuxkit/acpid:v0.5
# Enable getty for easier debugging
- name: getty
image: linuxkit/getty:3763a7fc3fddedc185bbd6f7f583f729e57fbeda
image: linuxkit/getty:v0.5
env:
- INSECURE=true
# Run ntpd to keep time synchronised in the VM
- name: ntpd
image: linuxkit/openntpd:2f13536030a04f93cfaa02f816fe24f536c9943c
image: linuxkit/openntpd:v0.5
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
# to a socket on the host.
- name: vsudd
image: linuxkit/vsudd:4d2a600d4dcefed5195a6908a1aaf0e16d48ad0c
image: linuxkit/vsudd:v0.5
binds:
- /var/run:/var/run
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
# vpnkit-forwarder forwards network traffic to/from the host via VSOCK port 62373.
# It needs access to the vpnkit 9P coordination share
- name: vpnkit-forwarder
image: linuxkit/vpnkit-forwarder:e474ea69ccc48157b6b8053a9a5814af46b58707
image: linuxkit/vpnkit-forwarder:v0.5
binds:
- /var/vpnkit:/port
net: host
command: ["/vpnkit-forwarder", "-vsockPort", "62373"]
# Monitor for image deletes and invoke a TRIM on the container filesystem
- name: trim-after-delete
image: linuxkit/trim-after-delete:1a8531c662ad4cde6f795cab9db3e622b3cf655e
image: linuxkit/trim-after-delete:v0.5
# When the host resumes from sleep, force a clock resync
- name: host-timesync-daemon
image: linuxkit/host-timesync-daemon:a54caae030f4086e482b103100f954b27a02aadd
image: linuxkit/host-timesync-daemon:v0.5
# Run dockerd with the vpnkit userland proxy from the vpnkit-forwarder container.
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
# for vpnkit coordination and /run/config/docker for the configuration file.
Oops, something went wrong.

0 comments on commit 811ba12

Please sign in to comment.