Merge pull request #2113 from rn/pkg

Improve package and kernel builds
This commit is contained in:
Rolf Neugebauer 2017-06-27 21:19:07 +01:00 committed by GitHub
commit b4d50ec405
86 changed files with 485 additions and 470 deletions

View File

@ -1,23 +1,23 @@
# This is a blueprint for building the open source components of Docker for Mac
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:2599bcd5013ce5962aa155ee8929c26160de13bd
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:b50181bc6e0084e5fcd6b6ad3cf433c4f66cae5a
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: "linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f"
image: "linuxkit/sysfs:b4091d81261f4582ff899a8510110fc4f2be2b49"
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
# Format and mount the disk image in /var/lib/docker
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/lib/docker"]
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
- name: mount-vpnkit
@ -29,30 +29,30 @@ onboot:
rootfsPropagation: shared
command: ["sh", "-c", "mkdir -p /host_var/vpnkit/port && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
# Enable getty for easier debugging
- name: getty
image: "linuxkit/getty:ef9d667af71089326419fb08e9cc9d567cf15748"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
# Run ntpd to keep time synchronised in the VM
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
# to a socket on the host.
- name: vsudd
image: "linuxkit/vsudd:a66df914201aac784195d5b78262f622fe7f910c"
image: "linuxkit/vsudd:9e5882b4450a97836e113bcad231f497aa7bdba4"
binds:
- /var/run:/var/run
command: ["/vsudd", "-inport", "2375: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:883de832c2c3cb72cd9b01e3f7bd788649e0f2c2"
image: "linuxkit/vpnkit-forwarder:e2776b82ddfe82ed7f90e55d7a2b424e62e9a279"
binds:
- /var/vpnkit:/port
net: host
@ -61,7 +61,7 @@ services:
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
# for vpnkit coordination and /var/config/docker for the configuration file.
- name: docker-dfm
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities:
- all
net: host

View File

@ -40,9 +40,9 @@ To simplify the process, two `onboot` images are available for you to use:
```yml
onboot:
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/external"]
```

View File

@ -11,17 +11,16 @@ updated frequently to include bug and security fixes. For some
kernels we do carry additional patches, which are mostly back-ported
fixes from newer kernels. The full kernel source with patches can be
found on [github](https://github.com/linuxkit/linux). Each kernel
image is tagged with the full kernel version plus the hash of the
files it was created from (git tree hash of the `./kernel`
directory). For convenience, the latest kernel of each stable series
is also available under a shorthand tag, e.g. `linuxkit/kernel:4.9.x`
for the latest `4.9` kernel. For selected kernels (mostly the LTS
kernels and latest stable kernels) we also compile/push kernels with
additional debugging enabled. The hub images for these kernels have
the `_dbg` suffix in the tag. For some kernels, we also provide
matching packages containing the `perf` utility for debugging and
performance tracing. The perf package is called `kernel-perf` and is
tagged the same way as the kernel packages.
image is tagged with the full kernel version (e.g.,
`linuxkit/kernel:4.9.33`) and with the full kernel version plus the
hash of the files it was created from (git tree hash of the `./kernel`
directory). For selected kernels (mostly the LTS kernels and latest
stable kernels) we also compile/push kernels with additional debugging
enabled. The hub images for these kernels have the `_dbg` suffix in
the tag. For some kernels, we also provide matching packages
containing the `perf` utility for debugging and performance tracing.
The perf package is called `kernel-perf` and is tagged the same way as
the kernel packages.
In addition to the official kernel images, LinuxKit offers the ability
to build bootable Linux images with kernels from various
@ -51,7 +50,7 @@ RAM disk.
There is a [example](../tests/kmod), but basically one can use a
multi-stage build to compile the kernel modules:
```
FROM linuxkit/kernel:4.9.x AS ksrc
FROM linuxkit/kernel:4.9.33 AS ksrc
# Extract headers and compile module
FROM linuxkit/kernel-compile:1b396c221af673757703258159ddc8539843b02b@sha256:6b32d205bfc6407568324337b707d195d027328dbfec554428ea93e7b0a8299b AS build
COPY --from=ksrc /kernel-dev.tar /
@ -73,20 +72,24 @@ configuration.
To build and test locally modified kernels, e.g., to try a different
kernel config or new patches, the existing kernel build system in the
[`../kernel`](../kernel/) can be re-used. For example, assuming the
current 4.9 kernel is 4.9.28, you can build a local kernel with:
current 4.9 kernel is 4.9.33, you can build a local kernel with:
```
make build_4.9.28 HASH=foo
make build_4.9.x
```
This will create a local kernel image called
`linuxkit/kernel:4.9.28-foo` which you can use in your YAML file as:
`linuxkit/kernel:4.9.33-<hash>-dirty` assuming you haven't committed you local changes. You can then use this in your YAML file as:
```
kernel:
image: "linuxkit/kernel:4.9.28-foo"
image: "linuxkit/kernel:4.9.33-<hash>-dirty"
```
If you have more substantial changes, or require a different kernel
version, it's best to replicate the kernel build system and change the
Docker Hub organisation to your own.
If you have committed your local changes, the `-dirty` will not be appended. Then you can also override the Hub organisation to use the image elsewhere with:
```
make ORG=<your hub org>
```
The image will be uploaded to Hub and can be use in a YAML file as
`<your hub org>/kernel:4.9.33` or as `<your hub
org>/kernel:4.9.33-<hash>`.
## Working with Linux kernel patches for LinuxKit

View File

@ -1,24 +1,24 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: "linuxkit/metadata:31a0b0f5557c6123beaa9c33e3400ae3c03447e0"
image: "linuxkit/metadata:09781c8a8097e5aa3ae522c74856d80e1da3b915"
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
binds:
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx

View File

@ -1,21 +1,21 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:b1766e4c4c09f63ac4925a6e4612852a93f7e73b
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
files:
- path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub

View File

@ -1,36 +1,36 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f
image: linuxkit/sysfs:b4091d81261f4582ff899a8510110fc4f2be2b49
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/lib/docker"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: docker
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities:
- all
net: host

View File

@ -1,28 +1,28 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: "linuxkit/metadata:31a0b0f5557c6123beaa9c33e3400ae3c03447e0"
image: "linuxkit/metadata:09781c8a8097e5aa3ae522c74856d80e1da3b915"
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
binds:
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx

View File

@ -1,25 +1,25 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
# to make insecure with passwordless root login, uncomment following lines
#env:
# - INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)

View File

@ -1,17 +1,17 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
trust:

View File

@ -1,21 +1,21 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: node_exporter
image: "linuxkit/node_exporter:265b35e1c9bd659fff22b0345fc7c8735c787b3c"
image: "linuxkit/node_exporter:0e8d0f1d979507837ad88943864c02b310f7a78f"
trust:
org:
- linuxkit

View File

@ -1,21 +1,21 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS1 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
files:
- path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub

View File

@ -1,19 +1,19 @@
# Minimal YAML to run a redis server (used at DockerCon'17)
# connect: nc localhost 6379
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: redis

View File

@ -1,25 +1,25 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
files:
- path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub

View File

@ -1,34 +1,34 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/external"]
- name: swap
image: "linuxkit/swap:e36b5e794256c2a56c000035f73a4d46f7ffb3e6"
image: "linuxkit/swap:cfdce4b41db13ce996cfa986b12b69b94f56f718"
# to use unencrypted swap, use:
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: nginx
image: "nginx:alpine"
capabilities:

View File

@ -1,23 +1,23 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: nginx
image: "nginx:alpine"
capabilities:

View File

@ -1,13 +1,13 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: mount-vpnkit
image: "alpine:3.6"
@ -19,15 +19,15 @@ onboot:
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
services:
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
- name: vpnkit-forwarder
image: "linuxkit/vpnkit-forwarder:883de832c2c3cb72cd9b01e3f7bd788649e0f2c2"
image: "linuxkit/vpnkit-forwarder:e2776b82ddfe82ed7f90e55d7a2b424e62e9a279"
binds:
- /var/vpnkit:/port
net: host
command: ["/vpnkit-forwarder"]
- name: vpnkit-expose-port
image: "linuxkit/vpnkit-forwarder:883de832c2c3cb72cd9b01e3f7bd788649e0f2c2"
image: "linuxkit/vpnkit-forwarder:e2776b82ddfe82ed7f90e55d7a2b424e62e9a279"
net: none
binds:
- /var/vpnkit:/port

View File

@ -1,17 +1,17 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: vsudd
image: "linuxkit/vsudd:a66df914201aac784195d5b78262f622fe7f910c"
image: "linuxkit/vsudd:9e5882b4450a97836e113bcad231f497aa7bdba4"
binds:
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
command: ["/vsudd",

View File

@ -2,11 +2,11 @@
# in a scratch container, which contains the bzImage, a tar
# ball with modules, the kernel sources, and in some case, the perf binary.
#
# Each kernel is pushed to hub twice, once as
# linuxkit/kernel:<kernel>.<major>.<minor>-<hash> and once as
# linuxkit/kernel:<kernel>.<major>.x. The <hash> is the git tree hash
# of the current directory. The build will only rebuild the kernel
# image if the git tree hash changed.
# Each kernel is pushed to hub twice:
# - linuxkit/kernel:<kernel>.<major>.<minor>-<hash>
# - linuxkit/kernel:<kernel>.<major>.<minor>
# The <hash> is the git tree hash of the current directory. The build
# will only rebuild the kernel image if the git tree hash changed.
#
# For some kernels we also build a separate package containing the perf utility
# which is specific to a given kernel. perf packages are tagged the same way
@ -19,14 +19,25 @@ ORG?=linuxkit
IMAGE:=kernel
IMAGE_PERF:=kernel-perf
.PHONY: check tag push sign
# Add '-dirty' to hash if the repository is not clean. make does not
# concatenate strings without spaces, so we use the documented trick
# of replacing the space with nothing.
DIRTY=$(shell git diff-index --quiet HEAD --; echo $$?)
ifneq ($(DIRTY),0)
HASH+=-dirty
nullstring :=
space := $(nullstring) $(nullstring)
TAG=$(subst $(space),,$(HASH))
else
TAG=$(HASH)
endif
.PHONY: check tag push
# Targets:
# build: builds all kernels
# push: pushes all tagged kernel images to hub
# sign: sign and push all kernel images to hub
# push: pushes and sign all tagged kernel images to hub
build:
push:
sign:
# A template for defining kernel build
# Arguments:
@ -34,57 +45,45 @@ sign:
# $2: Kernel "series", e.g., 4.9.x
# $3: Build a debug kernel (used as suffix for image)
# This defines targets like:
# build_4.9.x, push_4.9.x and sign_4.9.x and adds them as dependencies
# build_4.9.x and push_4.9.x and adds them as dependencies
# to the global targets
# Set $3 to "_dbg", to build debug kernels. This defines targets like
# build_4.9.x_dbg and adds "_dbg" to the hub image name.
define kernel
build_$(2)$(3): Dockerfile Makefile $(wildcard patches-$(2)/*) kernel_config-$(2) kernel_config.debug
docker pull $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) || \
docker pull $(ORG)/$(IMAGE):$(1)$(3)-$(TAG) || \
docker build \
--build-arg KERNEL_VERSION=$(1) \
--build-arg KERNEL_SERIES=$(2) \
--build-arg DEBUG=$(3) \
--no-cache -t $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) .
--no-cache -t $(ORG)/$(IMAGE):$(1)$(3)-$(TAG) .
push_$(2)$(3): build_$(2)$(3)
docker pull $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) || \
(docker push $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) && \
docker tag $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) $(ORG)/$(IMAGE):$(2)$(3) && \
docker push $(ORG)/$(IMAGE):$(2)$(3))
sign_$(2)$(3): build_$(2)$(3)
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) || \
(DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) && \
docker tag $(ORG)/$(IMAGE):$(1)$(3)-$(HASH) $(ORG)/$(IMAGE):$(2)$(3) && \
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(2)$(3))
@if [ $(DIRTY) -ne 0 ]; then echo "Your repository is not clean. Will not push image"; exit 1; fi
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(1)$(3)-$(TAG) || \
(DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(1)$(3)-$(TAG) && \
docker tag $(ORG)/$(IMAGE):$(1)$(3)-$(TAG) $(ORG)/$(IMAGE):$(1)$(3) && \
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(1)$(3))
build: build_$(2)$(3)
push: push_$(2)$(3)
sign: sign_$(2)$(3)
ifneq ($(2), 4.4.x)
build_perf_$(2)$(3): build_$(2)$(3)
docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) || \
docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(TAG) || \
docker build -f Dockerfile.perf \
--build-arg IMAGE=$(ORG)/$(IMAGE):$(1)$(3)-$(HASH) \
--no-cache --network=none -t $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) .
--build-arg IMAGE=$(ORG)/$(IMAGE):$(1)$(3)-$(TAG) \
--no-cache --network=none -t $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(TAG) .
push_perf_$(2)$(3): build_perf_$(2)$(3)
docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) || \
(docker push $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) && \
docker tag $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) $(ORG)/$(IMAGE_PERF):$(2)$(3) && \
docker push $(ORG)/$(IMAGE_PERF):$(2)$(3))
sign_perf_$(2)$(3): build_perf_$(2)$(3)
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) || \
(DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) && \
docker tag $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(HASH) $(ORG)/$(IMAGE_PERF):$(2)$(3) && \
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE_PERF):$(2)$(3))
@if [ $(DIRTY) -ne 0 ]; then echo "Your repository is not clean. Will not push image"; exit 1; fi
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(TAG) || \
(DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(TAG) && \
docker tag $(ORG)/$(IMAGE_PERF):$(1)$(3)-$(TAG) $(ORG)/$(IMAGE_PERF):$(1)$(3) && \
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE_PERF):$(1)$(3))
build: build_perf_$(2)$(3)
push: push_perf_$(2)$(3)
sign: sign_perf_$(2)$(3)
endif
endef

View File

@ -1,26 +1,26 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: nginx
image: "nginx:alpine"
capabilities:

View File

@ -1,10 +1,10 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS qemu
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS qemu
RUN apk add \
qemu-aarch64 \
qemu-arm \
qemu-ppc64le
FROM linuxkit/alpine:451603daf499e3a40308dbf5571dcffed2343ffa AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 as alpine
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 as alpine
RUN apk add ca-certificates

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:c96f56ef989ccb31fd115d25c1b90f05b992271d as alpine
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 as alpine
RUN \
apk add \
btrfs-progs-dev \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \
alpine-baselayout \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
# removed openssl as I do not think server needs it
@ -17,7 +17,7 @@ RUN apk add --no-cache --initdb -p /out \
xz
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
FROM linuxkit/vpnkit-forwarder:883de832c2c3cb72cd9b01e3f7bd788649e0f2c2 AS vpnkit
FROM linuxkit/vpnkit-forwarder:e2776b82ddfe82ed7f90e55d7a2b424e62e9a279 AS vpnkit
FROM scratch
COPY --from=mirror /out/ /
COPY --from=vpnkit /vpnkit-expose-port /usr/bin/vpnkit-expose-port

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@ -10,7 +10,7 @@ If you want a console getty, add the following to your `moby.yml`:
```
services:
- name: getty
image: "linuxkit/getty:886d35fe30c47750e8cfbf2f73016e9d2cc6361a"
image: "linuxkit/getty:<hash>"
```
The above will launch a getty for each console defined in the cmdline, i.e. `/proc/cmdline`.
@ -70,17 +70,3 @@ In addition to the usual getty shell, it is possible that you have a LinuxKit bu
In that case, you can make `linuxkit/getty` an `init:` level container. This will lead to a `sh` running on the console.
**This is highly insecure and should not be used except to debug system startup where containerd will not start itself or services. In all other cases, use getty only via services.**
To use it this way:
```yml
kernel:
image: "linuxkit/kernel:4.9.x"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:b1766e4c4c09f63ac4925a6e4612852a93f7e73b
- linuxkit/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
- linuxkit/getty:8305d9a564bfbe38b7ea6d6f5bccd95ae59b03d2
```

View File

@ -1,10 +1,10 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS build
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS build
RUN apk add --no-cache --initdb alpine-baselayout make gcc musl-dev
ADD usermode-helper.c .
RUN make usermode-helper
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:451603daf499e3a40308dbf5571dcffed2343ffa AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \
alpine-baselayout \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@ -5,13 +5,39 @@ ORG?=linuxkit
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
BASE_DEPS=Dockerfile Makefile
tag: $(BASE_DEPS) $(DEPS)
ifndef $(NETWORK)
docker build -t $(ORG)/$(IMAGE):$(HASH) .
# Add '-dirty' to hash if the repository is not clean. make does not
# concatenate strings without spaces, so we use the documented trick
# of replacing the space with nothing.
DIRTY=$(shell git diff-index --quiet HEAD --; echo $$?)
ifneq ($(DIRTY),0)
HASH+=-dirty
nullstring :=
space := $(nullstring) $(nullstring)
TAG=$(subst $(space),,$(HASH))
else
docker build --network=none -t $(ORG)/$(IMAGE):$(HASH) .
TAG=$(HASH)
endif
# Get a release tag, if present
RELEASE=$(shell git tag -l --points-at HEAD)
ifndef $(NETWORK)
NET_OPT=
else
NET_OPT=--network=none
endif
tag: $(BASE_DEPS) $(DEPS)
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(TAG) || \
docker build $(NET_OPT) -t $(ORG)/$(IMAGE):$(TAG) .
push: tag
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(HASH) || \
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(HASH)
ifneq ($(DIRTY),0)
$(error Your repository is not clean. Will not push package image.)
endif
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(TAG) || \
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(TAG)
ifneq ($(RELEASE),)
docker tag $(ORG)/$(IMAGE):$(TAG) $(ORG)/$(IMAGE):$(RELEASE)
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(RELEASE)
endif

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS build
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS build
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN mkdir -p /out/var/run
RUN apk add --no-cache --initdb -p /out \

View File

@ -1,14 +1,15 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \
tini
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
RUN mkdir -p /out/dev /out/proc /out/sys
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS build
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS build
RUN apk add \
argp-standalone \
automake \
curl \
gcc \
linux-headers \
make \
@ -19,7 +20,7 @@ COPY . /
ENV pkgname=rng-tools pkgver=5
ADD http://downloads.sourceforge.net/project/gkernel/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz $pkgname-$pkgver.tar.gz
RUN curl -fSL "http://downloads.sourceforge.net/project/gkernel/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" -o "$pkgname-$pkgver.tar.gz"
RUN sha256sum -c sha256sums
RUN zcat $pkgname-$pkgver.tar.gz | tar xf -

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 as alpine
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 as alpine
RUN \
apk add \
bash \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@ -8,7 +8,7 @@ Normally, unless you are running explicitly in a desktop version, LinuxKit image
```
onboot:
- name: swap
image: "linuxkit/swap:e36b5e794256c2a56c000035f73a4d46f7ffb3e6"
image: "linuxkit/swap:<hash>"
command: ["swap.sh","--path","/var/external/swap","--size","2G"]
```

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN apk add --no-cache go musl-dev git build-base
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@ -1,4 +1,4 @@
FROM linuxkit/alpine:630ee558e4869672fae230c78364e367b8ea67a9 AS mirror
FROM linuxkit/alpine:c608d404c1cb36cce0c7d9303e30b52c9d81ccf0 AS mirror
RUN apk add --no-cache go musl-dev git build-base
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@ -1,33 +1,33 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:b1766e4c4c09f63ac4925a6e4612852a93f7e73b
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f
image: linuxkit/sysfs:b4091d81261f4582ff899a8510110fc4f2be2b49
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/lib/docker"]
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: docker
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities:
- all
net: host

View File

@ -1,33 +1,33 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:b1766e4c4c09f63ac4925a6e4612852a93f7e73b
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f
image: linuxkit/sysfs:b4091d81261f4582ff899a8510110fc4f2be2b49
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/lib/docker"]
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: docker
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities:
- all
net: host

View File

@ -1,31 +1,31 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/lib/etcd"]
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: "linuxkit/metadata:4e73345cdcb4f7e9df07b0ee7aede652960297f2"
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: node_exporter
image: "linuxkit/node_exporter:265b35e1c9bd659fff22b0345fc7c8735c787b3c"
image: "linuxkit/node_exporter:0e8d0f1d979507837ad88943864c02b310f7a78f"
- name: etcd
image: "moby/etcd"
capabilities:

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: "linuxkit/metadata:4e73345cdcb4f7e9df07b0ee7aede652960297f2"

View File

@ -3,21 +3,21 @@ kernel:
cmdline: "console=ttyS0 console=tty0 page_poison=1 ima_appraise=enforce_ns"
init:
- linuxkit/init:b3740303f3d1e5689a84c87b7dfb48fd2a40a192
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
- linuxkit/ima-utils:dfeb3896fd29308b80ff9ba7fe5b8b767e40ca29
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: nginx
image: "nginx:alpine"
capabilities:

View File

@ -1,4 +1,4 @@
FROM linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848
FROM linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a
ADD . /images
ENTRYPOINT [ "/bin/sh", "-c" ]
CMD [ "for image in /images/*.tar ; do docker image load -i $image && rm -f $image ; done" ]

View File

@ -1,20 +1,20 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f
image: linuxkit/sysfs:b4091d81261f4582ff899a8510110fc4f2be2b49
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mounts
image: "linuxkit/kubernetes:latest-mounts"
capabilities:
@ -26,19 +26,19 @@ onboot:
- /var:/var:rshared,rbind
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
- name: docker
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities:
- all
net: host

View File

@ -1,20 +1,20 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f
image: linuxkit/sysfs:b4091d81261f4582ff899a8510110fc4f2be2b49
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mounts
image: "linuxkit/kubernetes:latest-mounts"
capabilities:
@ -26,19 +26,19 @@ onboot:
- /var:/var:rshared,rbind
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
- name: docker
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities:
- all
net: host

View File

@ -1,6 +1,6 @@
import 'common.rb'
from "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
from "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
script = [
mount_bind_hostns_self("/etc/cni"), mount_make_hostns_rshared("/etc/cni"),

View File

@ -1,23 +1,23 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037 # with runc, logwrite, startmemlogd
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
- linuxkit/memlogd:9b5834189f598f43c507f6938077113906f51012
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: nginx
image: "nginx:alpine"
capabilities:

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:2599bcd5013ce5962aa155ee8929c26160de13bd
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: sysctl
image: linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018
@ -28,9 +28,9 @@ onboot:
- /lib:/lib # for ifconfig
services:
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
files:

View File

@ -3,19 +3,19 @@ kernel:
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:5749f2e9e65395cc6635229e8da0e0d484320ddf
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: sshd
image: "linuxkit/sshd:14f9d669ba6b0ba1658dfb2eb7ac08e1b7d9f5a4"
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec"
files:
- path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub

View File

@ -2,25 +2,25 @@ kernel:
image: "linuxkitprojects/kernel-shiftfs:4.11.4-881a041fc14bd95814cf140b5e98d97dd65160b5"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:2599bcd5013ce5962aa155ee8929c26160de13bd
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
env:
- INSECURE=true
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: nginx
image: "nginx:alpine"
capabilities:

View File

@ -1,35 +1,35 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 console=tty0 page_poison=1"
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037
- linuxkit/runc:2649198589ef0020d99f613adaeda45ce0093a38
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
binds:
- /etc/sysctl.d/01-swarmd.conf:/etc/sysctl.d/01-swarmd.conf
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/lib/swarmd"]
- name: metadata
image: "linuxkit/metadata:4e73345cdcb4f7e9df07b0ee7aede652960297f2"
services:
- name: qemu-ga
image: "linuxkit/qemu-ga:e5fbcf55926f6e1a96b3e49a392e547e8be1022c"
image: "linuxkit/qemu-ga:2dbdc6523df576773b7c7d56d3a394429a4488ce"
binds:
- /dev/vport0p1:/dev/vport0p1
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: ntpd
image: "linuxkit/openntpd:45deeb05f736162d941c9bf494983f655ab80aa5"
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: swarmd
image: "linuxkit/swarmd:1002422b78339a767559058d704b086889e90447"
command: ["/usr/bin/swarmd", "--containerd-addr=/run/containerd/containerd.sock", "--log-level=debug", "--state-dir=/var/lib/swarmd"]

View File

@ -13,7 +13,7 @@ onboot:
- name: binfmt
image: "linuxkit/binfmt:603e5f064b3e8a64088c0fcf7a80d2783541ee1d"
- name: dhcpcd
image: "linuxkit/dhcpcd:ae03169274d19fe8841314fa5a6fea3c61adbf4e"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: rngd

View File

@ -1,13 +1,13 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
trust:
org:

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.4.x"
image: "linuxkit/kernel:4.4.74"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: check-kernel-config
image: "linuxkit/test-kernel-config:9f08e3b99f8ac2f422251b3e8c94ce874ee34119"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: check-kernel-config
image: "linuxkit/test-kernel-config:9f08e3b99f8ac2f422251b3e8c94ce874ee34119"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.11.x"
image: "linuxkit/kernel:4.11.7"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: check-kernel-config
image: "linuxkit/test-kernel-config:9f08e3b99f8ac2f422251b3e8c94ce874ee34119"

View File

@ -3,7 +3,7 @@
# In the last stage, it creates a package, which can be used for
# testing.
FROM linuxkit/kernel:4.9.x AS ksrc
FROM linuxkit/kernel:4.9.34 AS ksrc
# Extract headers and compile module
FROM linuxkit/kernel-compile:1b396c221af673757703258159ddc8539843b02b@sha256:6b32d205bfc6407568324337b707d195d027328dbfec554428ea93e7b0a8299b AS build

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: check
image: "kmod-test"

View File

@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:4.9.x
docker pull linuxkit/kernel:4.9.34
# Build a package
docker build -t ${IMAGE_NAME} .

View File

@ -1,30 +1,30 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
- name: sysfs
image: "linuxkit/sysfs:1244c5a86dfa2318c4e304af68d37e12367e1b7f"
image: "linuxkit/sysfs:b4091d81261f4582ff899a8510110fc4f2be2b49"
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: format
image: "linuxkit/format:180cb2dc1de5e60373385080f8148abf10a3afac"
image: "linuxkit/format:ba085fdcac31c383acee3b4b91d78eb7095e5ac3"
- name: mount
image: "linuxkit/mount:ff5338822f20375b8913f5a80f9ed4f6ea9a592b"
image: "linuxkit/mount:fe22dc5cbf109b4637b1caaafc76ccbf5140c3da"
command: ["/mount.sh", "/var/lib/docker"]
services:
- name: rngd
image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31"
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: docker
image: "linuxkit/docker-ce:dda71ff9fe5ebbfa794b98c57c32df286b212848"
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities:
- all
net: host

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: test
image: "alpine:3.6"

View File

@ -1,13 +1,13 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: binfmt
image: "linuxkit/binfmt:8ac5535f57f0c6f5fe88317b9d22a7677093c765"
image: "linuxkit/binfmt:24e2b996f7d6ad20bfa9c9f1564a3c6172db47ce"
- name: test
image: "alpine:3.6"
readonly: true

View File

@ -1,11 +1,11 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: test
image: "alpine:3.6"

View File

@ -1,11 +1,11 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"

View File

@ -1,13 +1,13 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: test
image: "alpine:3.6"

View File

@ -2,17 +2,17 @@ kernel:
image: "linuxkit/kernel:4.9.x"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
- linuxkit/ca-certificates:46b59484919bfa9af700e54e042048cb06261de4
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: "linuxkit/getty:9f27c1272b6d128c9a09745e916f151d09cb0d27"
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05"
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)

View File

@ -1,13 +1,13 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: mkimage
image: "linuxkit/mkimage:f4bf0c24261f7d120c8674892805ab3054eb8ac3"
image: "linuxkit/mkimage:3c01548c7166e710f8332e18773a28284bc13179"
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"
trust:

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: sysctl
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"

View File

@ -1,10 +1,10 @@
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:291131ec026430371e7c36165c3f43734fbc2541
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: ltp
image: "linuxkit/test-ltp:6df23ac196332cafb9c0f8e32f328e22d612267d"

View File

@ -1,15 +1,15 @@
# FIXME: This should use the minimal example
# We continue to use the kernel-config-test as CI is currently expecting to see a success message
kernel:
image: "linuxkit/kernel:4.9.x"
image: "linuxkit/kernel:4.9.34"
cmdline: "console=ttyS0"
init:
- linuxkit/init:17693d233dd009b2a3a8d23673cb85969e1dce80
- linuxkit/init:36c56f0664d49c5a6adc1120d1bf5ba6ac30b389
- linuxkit/runc:2649198589ef0020d99f613adaeda45ce0093a38
- linuxkit/containerd:a33cdcf50b8107ffe14c92802c460fe7ada39acd
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
onboot:
- name: dhcpcd
image: "linuxkit/dhcpcd:7d2b8aaaf20c24ad7d11a5ea2ea5b4a80dc966f1"
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: check-kernel-config
image: "linuxkit/test-kernel-config:9f08e3b99f8ac2f422251b3e8c94ce874ee34119"

View File

@ -74,12 +74,12 @@ libattr-2.4.47-r6
libblkid-2.28.2-r2
libburn-1.4.6-r0
libbz2-1.0.6-r5
libc-dev-0.7.1-r0
libc-utils-0.7.1-r0
libcap-2.25-r1
libcap-ng-0.7.8-r0
libc-dev-0.7.1-r0
libcom_err-1.43.4-r0
libcurl-7.54.0-r0
libc-utils-0.7.1-r0
libdrm-2.4.80-r0
libedit-20170329.3.1-r2
libelf-0.8.13-r2
@ -110,10 +110,10 @@ libogg-1.3.2-r1
libpciaccess-0.13.4-r1
libpng-1.6.29-r1
libressl-2.5.4-r0
libressl-dev-2.5.4-r0
libressl2.5-libcrypto-2.5.4-r0
libressl2.5-libssl-2.5.4-r0
libressl2.5-libtls-2.5.4-r0
libressl-dev-2.5.4-r0
libsasl-2.1.26-r10
libseccomp-2.3.2-r0
libseccomp-dev-2.3.2-r0
@ -150,11 +150,11 @@ ncurses-terminfo-base-6.0-r7
nettle-3.3-r0
npth-1.2-r0
oniguruma-6.2.0-r0
open-vm-tools-10.1.0-r7
openntpd-6.0_p1-r3
openrc-0.24.1-r2
openssh-keygen-7.5_p1-r1
openssh-server-7.5_p1-r1
open-vm-tools-10.1.0-r7
opus-1.1.4-r0
p11-kit-0.23.2-r1
patch-2.7.5-r1