mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-14 22:31:27 +00:00
Merge pull request #3637 from deitch/go-compile-alt
Full update Alpine: base to 3.13, go to 1.16, mod=vendor support
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,3 +19,4 @@ Dockerfile.media
|
|||||||
*-cmdline
|
*-cmdline
|
||||||
*-state
|
*-state
|
||||||
artifacts/*
|
artifacts/*
|
||||||
|
tools/alpine/iid
|
||||||
|
8
Makefile
8
Makefile
@@ -1,7 +1,7 @@
|
|||||||
VERSION="v0.8+"
|
VERSION="v0.8+"
|
||||||
GIT_COMMIT=$(shell git rev-list -1 HEAD)
|
GIT_COMMIT=$(shell git rev-list -1 HEAD)
|
||||||
|
|
||||||
GO_COMPILE=linuxkit/go-compile:6d73c4723ae2b58af22e3736b2b0f0292e18eb6d
|
GO_COMPILE=linuxkit/go-compile:ceff1817e4c670d253c7bd38da05daecaa513f5f
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
LINUXKIT?=bin/linuxkit.exe
|
LINUXKIT?=bin/linuxkit.exe
|
||||||
@@ -37,7 +37,7 @@ $(RTF): tmp_rtf_bin.tar | bin
|
|||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
tmp_rtf_bin.tar: Makefile
|
tmp_rtf_bin.tar: Makefile
|
||||||
docker run --rm --log-driver=none -e http_proxy=$(http_proxy) -e https_proxy=$(https_proxy) $(CROSS) $(GO_COMPILE) --clone-path github.com/linuxkit/rtf --clone https://github.com/linuxkit/rtf.git --commit $(RTF_COMMIT) --package github.com/linuxkit/rtf --ldflags "-X $(RTF_CMD).GitCommit=$(RTF_COMMIT) -X $(RTF_CMD).Version=$(RTF_VERSION)" -o $(RTF) > $@
|
docker run --rm --log-driver=none -e http_proxy=$(http_proxy) -e https_proxy=$(https_proxy) $(CROSS) $(GO_COMPILE) --clone-path github.com/linuxkit/rtf --clone https://github.com/linuxkit/rtf.git --commit $(RTF_COMMIT) --package github.com/linuxkit/rtf --ldflags "-X $(RTF_CMD).GitCommit=$(RTF_COMMIT) -X $(RTF_CMD).Version=$(RTF_VERSION) -linkmode=external" -o $(RTF) > $@
|
||||||
|
|
||||||
# Manifest tool for multi-arch images
|
# Manifest tool for multi-arch images
|
||||||
MT_COMMIT=bfbd11963b8e0eb5f6e400afaebeaf39820b4e90
|
MT_COMMIT=bfbd11963b8e0eb5f6e400afaebeaf39820b4e90
|
||||||
@@ -48,7 +48,7 @@ bin/manifest-tool: tmp_mt_bin.tar | bin
|
|||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
tmp_mt_bin.tar: Makefile
|
tmp_mt_bin.tar: Makefile
|
||||||
docker run --rm --log-driver=none -e http_proxy=$(http_proxy) -e https_proxy=$(https_proxy) $(CROSS) $(GO_COMPILE) --clone-path github.com/estesp/manifest-tool --clone $(MT_REPO) --commit $(MT_COMMIT) --package github.com/estesp/manifest-tool --ldflags "-X main.gitCommit=$(MT_COMMIT)" -o bin/manifest-tool > $@
|
docker run --rm --log-driver=none -e http_proxy=$(http_proxy) -e https_proxy=$(https_proxy) $(CROSS) $(GO_COMPILE) --clone-path github.com/estesp/manifest-tool --clone $(MT_REPO) --commit $(MT_COMMIT) --package github.com/estesp/manifest-tool --ldflags "-X main.gitCommit=$(MT_COMMIT) -linkmode=external" -o bin/manifest-tool > $@
|
||||||
|
|
||||||
LINUXKIT_DEPS=$(wildcard src/cmd/linuxkit/*.go) $(wildcard src/cmd/linuxkit/*/*.go) Makefile
|
LINUXKIT_DEPS=$(wildcard src/cmd/linuxkit/*.go) $(wildcard src/cmd/linuxkit/*/*.go) Makefile
|
||||||
$(LINUXKIT): tmp_linuxkit_bin.tar
|
$(LINUXKIT): tmp_linuxkit_bin.tar
|
||||||
@@ -57,7 +57,7 @@ $(LINUXKIT): tmp_linuxkit_bin.tar
|
|||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
tmp_linuxkit_bin.tar: $(LINUXKIT_DEPS)
|
tmp_linuxkit_bin.tar: $(LINUXKIT_DEPS)
|
||||||
tar cf - -C src/cmd/linuxkit . | docker run --rm --net=none --log-driver=none -i $(CROSS) $(GO_COMPILE) --package github.com/linuxkit/linuxkit/src/cmd/linuxkit --ldflags "-X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.GitCommit=$(GIT_COMMIT) -X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.Version=$(VERSION)" -o $(LINUXKIT) > $@
|
tar cf - -C src/cmd/linuxkit . | docker run --rm --net=none --log-driver=none -i $(CROSS) $(GO_COMPILE) --package github.com/linuxkit/linuxkit/src/cmd/linuxkit --ldflags "-X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.GitCommit=$(GIT_COMMIT) -X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.Version=$(VERSION) -linkmode=external" -o $(LINUXKIT) > $@
|
||||||
|
|
||||||
.PHONY: test-cross
|
.PHONY: test-cross
|
||||||
test-cross:
|
test-cross:
|
||||||
|
@@ -30,7 +30,7 @@ spec:
|
|||||||
operator: Exists
|
operator: Exists
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
containers:
|
containers:
|
||||||
- image: linuxkit/open-vm-tools:v0.8
|
- image: linuxkit/open-vm-tools:b7e7f12c310a55a4959cfa72d01216698d5c24bb
|
||||||
name: open-vm-tools
|
name: open-vm-tools
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
@@ -112,6 +112,7 @@ other packages:
|
|||||||
cd $LK_ROOT/tools
|
cd $LK_ROOT/tools
|
||||||
../scripts/update-component-sha.sh --image linuxkit/alpine:$LK_ALPINE
|
../scripts/update-component-sha.sh --image linuxkit/alpine:$LK_ALPINE
|
||||||
git checkout alpine/versions.aarch64 alpine/versions.s390x
|
git checkout alpine/versions.aarch64 alpine/versions.s390x
|
||||||
|
git checkout grub/Dockerfile
|
||||||
|
|
||||||
git commit -a -s -m "tools: Update to the latest linuxkit/alpine"
|
git commit -a -s -m "tools: Update to the latest linuxkit/alpine"
|
||||||
git push $LK_REMOTE rel_$LK_RELEASE
|
git push $LK_REMOTE rel_$LK_RELEASE
|
||||||
@@ -122,6 +123,8 @@ make forcepush
|
|||||||
Note, the `git checkout` reverts the changes made by
|
Note, the `git checkout` reverts the changes made by
|
||||||
`update-component-sha.sh` to files which are accidentally updated and
|
`update-component-sha.sh` to files which are accidentally updated and
|
||||||
the `make forcepush` will skip building the alpine base.
|
the `make forcepush` will skip building the alpine base.
|
||||||
|
Also, `git checkout` of `grub`. This is a bit old and only can be built with specific
|
||||||
|
older versions of packages like `gcc`, and should not be updated.
|
||||||
|
|
||||||
Then, on the other build machines in turn:
|
Then, on the other build machines in turn:
|
||||||
|
|
||||||
@@ -275,5 +278,3 @@ This completes the release, but you are not done, one more step is required.
|
|||||||
Create a PR which bumps the version number in the top-level `Makefile`
|
Create a PR which bumps the version number in the top-level `Makefile`
|
||||||
to `$LK_RELEASE+` to make sure that the version reported by `linuxkit
|
to `$LK_RELEASE+` to make sure that the version reported by `linuxkit
|
||||||
version` gets updated.
|
version` gets updated.
|
||||||
|
|
||||||
|
|
||||||
|
@@ -30,6 +30,6 @@ docker run -it --rm \
|
|||||||
-v $(pwd):/go/src/github.com/linuxkit/linuxkit \
|
-v $(pwd):/go/src/github.com/linuxkit/linuxkit \
|
||||||
-w /go/src/github.com/linuxkit/linuxkit/src/cmd/linuxkit \
|
-w /go/src/github.com/linuxkit/linuxkit/src/cmd/linuxkit \
|
||||||
--entrypoint=go
|
--entrypoint=go
|
||||||
linuxkit/go-compile:6d73c4723ae2b58af22e3736b2b0f0292e18eb6d
|
linuxkit/go-compile:ceff1817e4c670d253c7bd38da05daecaa513f5f
|
||||||
mod vendor
|
mod vendor
|
||||||
```
|
```
|
||||||
|
@@ -2,24 +2,24 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.30
|
image: linuxkit/kernel:5.4.30
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:f79954950022fea76b8b6f10de58cb48e4fb3878
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:abfc6701b9ca17e34ac9439ce5946a247e720ff5
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:541f60fe3676611328e89e8bac251fc636b1a6aa
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:2f8a9b670aa6e96a09db56ec45c9f07ef2a811ee
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:48f66df198981e692084bf70ab72b9fe2be0f880
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
binds.add:
|
binds.add:
|
||||||
# this will keep all of the existing ones as well
|
# this will keep all of the existing ones as well
|
||||||
- /var/tmp:/var/tmp
|
- /var/tmp:/var/tmp
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:7fab61cca793113280397dcee8159f35dc37adcb
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
files:
|
files:
|
||||||
- path: etc/getty.shadow
|
- path: etc/getty.shadow
|
||||||
# sample sets password for root to "abcdefgh" (without quotes)
|
# sample sets password for root to "abcdefgh" (without quotes)
|
||||||
|
@@ -2,23 +2,23 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
binds:
|
binds:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@@ -2,20 +2,20 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@@ -2,33 +2,33 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:v0.8
|
image: linuxkit/sysfs:3498aa99c90a29439b5a1926f6ffcd75c270372c
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:v0.8
|
image: linuxkit/openntpd:66f25a516c7460f5e49195309cf276903741c428
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:19.03.8-dind
|
image: docker:19.03.8-dind
|
||||||
@@ -46,7 +46,7 @@ services:
|
|||||||
- /etc/docker/daemon.json:/etc/docker/daemon.json
|
- /etc/docker/daemon.json:/etc/docker/daemon.json
|
||||||
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
||||||
- name: cadvisor
|
- name: cadvisor
|
||||||
image: linuxkit/cadvisor:v0.8
|
image: linuxkit/cadvisor:7f2cff94d3914b98edda8bca273b445324ab23f0
|
||||||
files:
|
files:
|
||||||
- path: var/lib/docker
|
- path: var/lib/docker
|
||||||
directory: true
|
directory: true
|
||||||
|
@@ -2,30 +2,30 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
command: ["/usr/bin/format", "/dev/sda"]
|
command: ["/usr/bin/format", "/dev/sda"]
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
||||||
- name: loop
|
- name: loop
|
||||||
image: linuxkit/losetup:v0.8
|
image: linuxkit/losetup:db35344a21e44a55195540a8670886f60aa77201
|
||||||
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
||||||
- name: dm-crypt
|
- name: dm-crypt
|
||||||
image: linuxkit/dm-crypt:v0.8
|
image: linuxkit/dm-crypt:4daf2010d088955b42ba50db813226e4b3f773cb
|
||||||
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_dev", "/var/secure_storage"]
|
command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_dev", "/var/secure_storage"]
|
||||||
- name: bbox
|
- name: bbox
|
||||||
image: busybox
|
image: busybox
|
||||||
@@ -34,11 +34,11 @@ onboot:
|
|||||||
- /var:/var
|
- /var:/var
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
files:
|
files:
|
||||||
- path: etc/dm-crypt/key
|
- path: etc/dm-crypt/key
|
||||||
# the below key is just to keep the example self-contained
|
# the below key is just to keep the example self-contained
|
||||||
|
@@ -2,24 +2,24 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
command: ["/usr/bin/format", "/dev/sda"]
|
command: ["/usr/bin/format", "/dev/sda"]
|
||||||
- name: dm-crypt
|
- name: dm-crypt
|
||||||
image: linuxkit/dm-crypt:v0.8
|
image: linuxkit/dm-crypt:4daf2010d088955b42ba50db813226e4b3f773cb
|
||||||
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"]
|
command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"]
|
||||||
- name: bbox
|
- name: bbox
|
||||||
image: busybox
|
image: busybox
|
||||||
@@ -28,11 +28,11 @@ onboot:
|
|||||||
- /var:/var
|
- /var:/var
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
files:
|
files:
|
||||||
- path: etc/dm-crypt/key
|
- path: etc/dm-crypt/key
|
||||||
# the below key is just to keep the example self-contained
|
# the below key is just to keep the example self-contained
|
||||||
|
@@ -3,30 +3,30 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/vpnkit-expose-port:v0.8 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
- linuxkit/vpnkit-expose-port:b0a5ede4c53aa718b48fb9a86e4725ab6ae7f96e # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
# support metadata for optional config in /run/config
|
# support metadata for optional config in /run/config
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:v0.8
|
image: linuxkit/sysfs:3498aa99c90a29439b5a1926f6ffcd75c270372c
|
||||||
- name: binfmt
|
- name: binfmt
|
||||||
image: linuxkit/binfmt:v0.8
|
image: linuxkit/binfmt:5567917e7de481e4867d31c7490a0ebdb70e04a5
|
||||||
# Format and mount the disk image in /var/lib/docker
|
# Format and mount the disk image in /var/lib/docker
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/var/lib"]
|
command: ["/usr/bin/mountie", "/var/lib"]
|
||||||
# make a swap file on the mounted disk
|
# make a swap file on the mounted disk
|
||||||
- name: swap
|
- name: swap
|
||||||
image: linuxkit/swap:v0.8
|
image: linuxkit/swap:0028aeae2741d28120e4d2c6efcc5af003eae395
|
||||||
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
|
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
|
||||||
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
||||||
- name: mount-vpnkit
|
- name: mount-vpnkit
|
||||||
@@ -44,41 +44,41 @@ onboot:
|
|||||||
- /var:/host_var
|
- /var:/host_var
|
||||||
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
|
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
# Enable acpi to shutdown on power events
|
# Enable acpi to shutdown on power events
|
||||||
- name: acpid
|
- name: acpid
|
||||||
image: linuxkit/acpid:v0.8
|
image: linuxkit/acpid:d2ddd88c7918466f875e7c5c3e527b51dfb0b0ea
|
||||||
# Enable getty for easier debugging
|
# Enable getty for easier debugging
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
# Run ntpd to keep time synchronised in the VM
|
# Run ntpd to keep time synchronised in the VM
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:v0.8
|
image: linuxkit/openntpd:66f25a516c7460f5e49195309cf276903741c428
|
||||||
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
|
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
|
||||||
# to a socket on the host.
|
# to a socket on the host.
|
||||||
- name: vsudd
|
- name: vsudd
|
||||||
image: linuxkit/vsudd:v0.8
|
image: linuxkit/vsudd:8b442fc9296ce581e8755675eadc928c13ac79c9
|
||||||
binds:
|
binds:
|
||||||
- /var/run:/var/run
|
- /var/run:/var/run
|
||||||
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
|
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
|
||||||
# vpnkit-forwarder forwards network traffic to/from the host via VSOCK port 62373.
|
# vpnkit-forwarder forwards network traffic to/from the host via VSOCK port 62373.
|
||||||
# It needs access to the vpnkit 9P coordination share
|
# It needs access to the vpnkit 9P coordination share
|
||||||
- name: vpnkit-forwarder
|
- name: vpnkit-forwarder
|
||||||
image: linuxkit/vpnkit-forwarder:v0.8
|
image: linuxkit/vpnkit-forwarder:56ed525d212ca17e01b54d9b66c39b534a4392bc
|
||||||
binds:
|
binds:
|
||||||
- /var/vpnkit:/port
|
- /var/vpnkit:/port
|
||||||
net: host
|
net: host
|
||||||
command: ["/vpnkit-forwarder", "-vsockPort", "62373"]
|
command: ["/vpnkit-forwarder", "-vsockPort", "62373"]
|
||||||
# Monitor for image deletes and invoke a TRIM on the container filesystem
|
# Monitor for image deletes and invoke a TRIM on the container filesystem
|
||||||
- name: trim-after-delete
|
- name: trim-after-delete
|
||||||
image: linuxkit/trim-after-delete:6258aec13d91259379289b577f8a79754819777e
|
image: linuxkit/trim-after-delete:ac6307a62c926a49a067d4de8667c2789b5ce2c9
|
||||||
# When the host resumes from sleep, force a clock resync
|
# When the host resumes from sleep, force a clock resync
|
||||||
- name: host-timesync-daemon
|
- name: host-timesync-daemon
|
||||||
image: linuxkit/host-timesync-daemon:v0.8
|
image: linuxkit/host-timesync-daemon:32fec3fc7d03e5600ef88526c8f187cf21e8e0cc
|
||||||
# Run dockerd with the vpnkit userland proxy from the vpnkit-forwarder container.
|
# 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
|
# 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.
|
# for vpnkit coordination and /run/config/docker for the configuration file.
|
||||||
|
@@ -2,31 +2,31 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:v0.8
|
image: linuxkit/sysfs:3498aa99c90a29439b5a1926f6ffcd75c270372c
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:v0.8
|
image: linuxkit/openntpd:66f25a516c7460f5e49195309cf276903741c428
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:19.03.8-dind
|
image: docker:19.03.8-dind
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -2,27 +2,27 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
binds:
|
binds:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@@ -2,24 +2,24 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
# to make insecure with passwordless root login, uncomment following lines
|
# to make insecure with passwordless root login, uncomment following lines
|
||||||
#env:
|
#env:
|
||||||
# - INSECURE=true
|
# - INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
files:
|
files:
|
||||||
- path: etc/getty.shadow
|
- path: etc/getty.shadow
|
||||||
# sample sets password for root to "abcdefgh" (without quotes)
|
# sample sets password for root to "abcdefgh" (without quotes)
|
||||||
|
@@ -3,32 +3,32 @@ kernel:
|
|||||||
cmdline: console=ttyS1
|
cmdline: console=ttyS1
|
||||||
ucode: intel-ucode.cpio
|
ucode: intel-ucode.cpio
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
- linuxkit/firmware:v0.8
|
- linuxkit/firmware:1363380034cc23556e95d595b9beb8df55aa6cbf
|
||||||
onboot:
|
onboot:
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
command: ["/usr/bin/metadata", "hetzner"]
|
command: ["/usr/bin/metadata", "hetzner"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@@ -2,15 +2,15 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
onshutdown:
|
onshutdown:
|
||||||
- name: shutdown
|
- name: shutdown
|
||||||
@@ -18,7 +18,7 @@ onshutdown:
|
|||||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
runtime:
|
runtime:
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
destination: writeable-host-etc
|
destination: writeable-host-etc
|
||||||
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
|
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -2,17 +2,17 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: influxdb
|
- name: influxdb
|
||||||
|
@@ -3,21 +3,21 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
- linuxkit/memlogd:v0.8
|
- linuxkit/memlogd:9b0e8a5b3f67672234170d88833163caf7898984
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
# Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log
|
# Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
# A service which generates log messages for testing
|
# A service which generates log messages for testing
|
||||||
@@ -25,9 +25,9 @@ services:
|
|||||||
image: alpine:3.11
|
image: alpine:3.11
|
||||||
command: ["/bin/sh", "-c", "while /bin/true; do echo hello $(date); sleep 1; done" ]
|
command: ["/bin/sh", "-c", "while /bin/true; do echo hello $(date); sleep 1; done" ]
|
||||||
- name: write-and-rotate-logs
|
- name: write-and-rotate-logs
|
||||||
image: linuxkit/logwrite:v0.8
|
image: linuxkit/logwrite:e64e0f06e485e3542b58f3517da3bc13f246d208
|
||||||
- name: kmsg
|
- name: kmsg
|
||||||
image: linuxkit/kmsg:v0.8
|
image: linuxkit/kmsg:df84eda2a82d5e24ddfe241831af3efb13a1a557
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
- linuxkit
|
- linuxkit
|
||||||
|
@@ -2,16 +2,16 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
trust:
|
trust:
|
||||||
|
@@ -2,20 +2,20 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
- name: node_exporter
|
- name: node_exporter
|
||||||
image: linuxkit/node_exporter:v0.8
|
image: linuxkit/node_exporter:f2e8d89c950dada9a1ff497f312abd79a00292f8
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
- linuxkit
|
- linuxkit
|
||||||
|
@@ -2,24 +2,24 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
command: ["/usr/bin/metadata", "openstack"]
|
command: ["/usr/bin/metadata", "openstack"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
binds:
|
binds:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@@ -10,5 +10,5 @@ kernel:
|
|||||||
ucode: ""
|
ucode: ""
|
||||||
onboot:
|
onboot:
|
||||||
- name: modprobe
|
- name: modprobe
|
||||||
image: linuxkit/modprobe:v0.8
|
image: linuxkit/modprobe:e2045c96cd2d3ef08eaf452396462d9205667690
|
||||||
command: ["modprobe", "nicvf"]
|
command: ["modprobe", "nicvf"]
|
||||||
|
@@ -3,32 +3,32 @@ kernel:
|
|||||||
cmdline: console=ttyS1
|
cmdline: console=ttyS1
|
||||||
ucode: intel-ucode.cpio
|
ucode: intel-ucode.cpio
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
- linuxkit/firmware:v0.8
|
- linuxkit/firmware:1363380034cc23556e95d595b9beb8df55aa6cbf
|
||||||
onboot:
|
onboot:
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
command: ["/usr/bin/metadata", "packet"]
|
command: ["/usr/bin/metadata", "packet"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@@ -4,16 +4,16 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
# Currently redis:4.0.6-alpine has trust issue with multi-arch
|
# Currently redis:4.0.6-alpine has trust issue with multi-arch
|
||||||
|
@@ -2,24 +2,24 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.28-rt
|
image: linuxkit/kernel:5.4.28-rt
|
||||||
cmdline: "console=tty0"
|
cmdline: "console=tty0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
- name: open-vm-tools
|
- name: open-vm-tools
|
||||||
image: linuxkit/open-vm-tools:v0.8
|
image: linuxkit/open-vm-tools:b7e7f12c310a55a4959cfa72d01216698d5c24bb
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -2,28 +2,28 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0 root=/dev/vda"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0 root=/dev/vda"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
- linuxkit
|
- linuxkit
|
||||||
|
@@ -2,27 +2,27 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@@ -2,18 +2,18 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
onboot:
|
onboot:
|
||||||
- name: ip
|
- name: ip
|
||||||
image: linuxkit/ip:v0.8
|
image: linuxkit/ip:b98c32fab9c8997c5d05677af979f05dfcd8b3f1
|
||||||
binds:
|
binds:
|
||||||
- /etc/ip:/etc/ip
|
- /etc/ip:/etc/ip
|
||||||
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
files:
|
files:
|
||||||
|
@@ -2,33 +2,33 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/var/external"]
|
command: ["/usr/bin/mountie", "/var/external"]
|
||||||
- name: swap
|
- name: swap
|
||||||
image: linuxkit/swap:v0.8
|
image: linuxkit/swap:0028aeae2741d28120e4d2c6efcc5af003eae395
|
||||||
# to use unencrypted swap, use:
|
# to use unencrypted swap, use:
|
||||||
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
|
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
|
||||||
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
- linuxkit
|
- linuxkit
|
||||||
|
@@ -2,25 +2,25 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: tss
|
- name: tss
|
||||||
image: linuxkit/tss:v0.8
|
image: linuxkit/tss:03376461810d54c300d6cecf980c577b5731ec3e
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
files:
|
files:
|
||||||
- path: etc/getty.shadow
|
- path: etc/getty.shadow
|
||||||
# sample sets password for root to "abcdefgh" (without quotes)
|
# sample sets password for root to "abcdefgh" (without quotes)
|
||||||
|
@@ -2,22 +2,22 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0"
|
cmdline: "console=tty0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -2,12 +2,12 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: mount-vpnkit
|
- name: mount-vpnkit
|
||||||
image: alpine:3.11
|
image: alpine:3.11
|
||||||
@@ -19,9 +19,9 @@ 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"]
|
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:
|
services:
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
- name: vpnkit-forwarder
|
- name: vpnkit-forwarder
|
||||||
image: linuxkit/vpnkit-forwarder:v0.8
|
image: linuxkit/vpnkit-forwarder:56ed525d212ca17e01b54d9b66c39b534a4392bc
|
||||||
binds:
|
binds:
|
||||||
- /var/vpnkit:/port
|
- /var/vpnkit:/port
|
||||||
net: host
|
net: host
|
||||||
|
@@ -2,16 +2,16 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: vsudd
|
- name: vsudd
|
||||||
image: linuxkit/vsudd:v0.8
|
image: linuxkit/vsudd:8b442fc9296ce581e8755675eadc928c13ac79c9
|
||||||
binds:
|
binds:
|
||||||
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
|
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
|
||||||
command: ["/vsudd",
|
command: ["/vsudd",
|
||||||
|
@@ -2,28 +2,28 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:2cf1db0f0d2c9916b4894318bd76f1c97d8c8f7b
|
image: linuxkit/metadata:91125438842110e7709811997815b7b33dc18d1d
|
||||||
command: ["/usr/bin/metadata", "vultr"]
|
command: ["/usr/bin/metadata", "vultr"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
binds:
|
binds:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@@ -2,18 +2,18 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: wg0
|
- name: wg0
|
||||||
image: linuxkit/ip:v0.8
|
image: linuxkit/ip:b98c32fab9c8997c5d05677af979f05dfcd8b3f1
|
||||||
net: new
|
net: new
|
||||||
binds:
|
binds:
|
||||||
- /etc/wireguard:/etc/wireguard
|
- /etc/wireguard:/etc/wireguard
|
||||||
@@ -26,7 +26,7 @@ onboot:
|
|||||||
bindNS:
|
bindNS:
|
||||||
net: /run/netns/wg0
|
net: /run/netns/wg0
|
||||||
- name: wg1
|
- name: wg1
|
||||||
image: linuxkit/ip:v0.8
|
image: linuxkit/ip:b98c32fab9c8997c5d05677af979f05dfcd8b3f1
|
||||||
net: new
|
net: new
|
||||||
binds:
|
binds:
|
||||||
- /etc/wireguard:/etc/wireguard
|
- /etc/wireguard:/etc/wireguard
|
||||||
@@ -40,12 +40,12 @@ onboot:
|
|||||||
net: /run/netns/wg1
|
net: /run/netns/wg1
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
net: /run/netns/wg1
|
net: /run/netns/wg1
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
net: /run/netns/wg0
|
net: /run/netns/wg0
|
||||||
|
16
linuxkit.yml
16
linuxkit.yml
@@ -2,15 +2,15 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
onshutdown:
|
onshutdown:
|
||||||
- name: shutdown
|
- name: shutdown
|
||||||
@@ -18,11 +18,11 @@ onshutdown:
|
|||||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.19.5-alpine
|
image: nginx:1.19.5-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -6,7 +6,7 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
busybox
|
busybox
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror2
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror2
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
busybox-initscripts
|
busybox-initscripts
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --initdb -p /out alpine-baselayout apk-tools audit busybox tini
|
RUN apk add --initdb -p /out alpine-baselayout apk-tools audit busybox tini
|
||||||
|
@@ -8,10 +8,10 @@ RUN apt-get update && apt-get install -y qemu-user-static && \
|
|||||||
mv /usr/bin/qemu-riscv64-static /usr/bin/qemu-riscv64 && \
|
mv /usr/bin/qemu-riscv64-static /usr/bin/qemu-riscv64 && \
|
||||||
rm /usr/bin/qemu-*-static
|
rm /usr/bin/qemu-*-static
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
|
|
||||||
COPY main.go /go/src/binfmt/
|
COPY main.go /go/src/binfmt/
|
||||||
RUN go-compile.sh /go/src/binfmt
|
RUN go-compile.sh /go/src/binfmt
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
RUN apk add --update \
|
RUN apk add --update \
|
||||||
bison \
|
bison \
|
||||||
build-base \
|
build-base \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 as alpine
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 as alpine
|
||||||
|
|
||||||
RUN apk add ca-certificates
|
RUN apk add ca-certificates
|
||||||
|
|
||||||
|
@@ -1,16 +1,19 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 as build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 as build
|
||||||
|
|
||||||
RUN apk add --no-cache bash go git musl-dev linux-headers make
|
RUN apk add --no-cache bash go git musl-dev linux-headers make patch
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
|
ENV GITBASE=github.com/google
|
||||||
ENV GITREPO=github.com/google/cadvisor
|
ENV GITREPO=github.com/google/cadvisor
|
||||||
ENV COMMIT=v0.36.0
|
ENV COMMIT=v0.36.0
|
||||||
|
|
||||||
ADD /static.patch /tmp/
|
ADD /static.patch /tmp/
|
||||||
|
|
||||||
RUN go get -d ${GITREPO} \
|
RUN mkdir -p /go/src/${GITBASE} \
|
||||||
|
&& cd /go/src/${GITBASE} \
|
||||||
|
&& git clone https://${GITREPO}.git \
|
||||||
&& cd /go/src/${GITREPO} \
|
&& cd /go/src/${GITREPO} \
|
||||||
&& git checkout ${COMMIT} \
|
&& git checkout ${COMMIT} \
|
||||||
&& patch -p1 build/build.sh </tmp/static.patch \
|
&& patch -p1 build/build.sh </tmp/static.patch \
|
||||||
@@ -18,7 +21,7 @@ RUN go get -d ${GITREPO} \
|
|||||||
&& mv cadvisor /usr/bin/
|
&& mv cadvisor /usr/bin/
|
||||||
|
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:a3d78322152a8b341bdaecfe182a2689fdbdee53 as alpine
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 as alpine
|
||||||
RUN apk add tzdata binutils
|
RUN apk add tzdata binutils
|
||||||
|
|
||||||
WORKDIR $GOPATH/src/github.com/containerd/containerd
|
WORKDIR $GOPATH/src/github.com/containerd/containerd
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -15,10 +15,10 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
&& true
|
&& true
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
RUN apk add --no-cache git
|
RUN apk add --no-cache git
|
||||||
|
|
||||||
# Make sure you also update the FW_COMMIT in ../firmware/Dockerfile
|
# Make sure you also update the FW_COMMIT in ../firmware/Dockerfile
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# Make modules from a recentish kernel available
|
# Make modules from a recentish kernel available
|
||||||
FROM linuxkit/kernel:5.4.28 AS kernel
|
FROM linuxkit/kernel:5.4.28 AS kernel
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
RUN apk add --no-cache git kmod
|
RUN apk add --no-cache git kmod
|
||||||
|
|
||||||
# Clone the firmware repository
|
# Clone the firmware repository
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -15,10 +15,10 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
&& true
|
&& true
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev git
|
RUN apk add --no-cache go musl-dev git
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
|
|
||||||
ENV VIRTSOCK_COMMIT=f1e32d3189e0dbb81c0e752a4e214617487eb41f
|
ENV VIRTSOCK_COMMIT=f1e32d3189e0dbb81c0e752a4e214617487eb41f
|
||||||
RUN mkdir -p $GOPATH/src/github.com/linuxkit && \
|
RUN mkdir -p $GOPATH/src/github.com/linuxkit && \
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
RUN apk add --no-cache --initdb alpine-baselayout make gcc musl-dev git linux-headers
|
RUN apk add --no-cache --initdb alpine-baselayout make gcc musl-dev git linux-headers
|
||||||
|
|
||||||
ADD usermode-helper.c ./
|
ADD usermode-helper.c ./
|
||||||
RUN LDFLAGS=-static CFLAGS=-Werror make usermode-helper
|
RUN LDFLAGS=-static CFLAGS=-Werror make usermode-helper
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ RUN mkdir /tmp/bin && cd /tmp/bin/ && cp /go/bin/rc.init . && ln -s rc.init rc.s
|
|||||||
RUN cd /go/src/cmd/service && ./skanky-vendor.sh $GOPATH/src/github.com/containerd/containerd
|
RUN cd /go/src/cmd/service && ./skanky-vendor.sh $GOPATH/src/github.com/containerd/containerd
|
||||||
RUN go-compile.sh /go/src/cmd/service
|
RUN go-compile.sh /go/src/cmd/service
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
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
|
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
||||||
|
|
||||||
|
@@ -9,8 +9,8 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/opencontainers/runc/libcontainer/system"
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
"golang.org/x/sys/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -49,7 +49,7 @@ func runcInit(rootPath, serviceType string) int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// need to set ourselves as a child subreaper or we cannot wait for runc as reparents to init
|
// need to set ourselves as a child subreaper or we cannot wait for runc as reparents to init
|
||||||
if err := system.SetSubreaper(1); err != nil {
|
if err := setSubreaper(1); err != nil {
|
||||||
log.Fatalf("Cannot set as subreaper: %v", err)
|
log.Fatalf("Cannot set as subreaper: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -164,3 +164,9 @@ func runcInit(rootPath, serviceType string) int {
|
|||||||
|
|
||||||
return status
|
return status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// setSubreaper copied directly from https://github.com/opencontainers/runc/blob/b23315bdd99c388f5d0dd3616188729c5a97484a/libcontainer/system/linux.go#L88
|
||||||
|
// to avoid version and vendor conflict issues
|
||||||
|
func setSubreaper(i int) error {
|
||||||
|
return unix.Prctl(unix.PR_SET_CHILD_SUBREAPER, uintptr(i), 0, 0, 0)
|
||||||
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add curl
|
RUN apk add curl
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev linux-headers
|
RUN apk add --no-cache go musl-dev linux-headers
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev linux-headers
|
RUN apk add --no-cache go musl-dev linux-headers
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -9,10 +9,10 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
&& true
|
&& true
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,12 +1,15 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 as build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 as build
|
||||||
|
|
||||||
RUN apk add --no-cache go git musl-dev make curl gcc
|
RUN apk add --no-cache go git musl-dev make curl gcc
|
||||||
|
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
|
ENV GITBASE=github.com/prometheus
|
||||||
ENV GITREPO=github.com/prometheus/node_exporter
|
ENV GITREPO=github.com/prometheus/node_exporter
|
||||||
ENV COMMIT=v0.18.1
|
ENV COMMIT=v0.18.1
|
||||||
|
|
||||||
RUN go get -d ${GITREPO} \
|
RUN mkdir -p /go/src/${GITBASE} \
|
||||||
|
&& cd /go/src/${GITBASE} \
|
||||||
|
&& git clone https://${GITREPO}.git \
|
||||||
&& cd /go/src/${GITREPO} \
|
&& cd /go/src/${GITREPO} \
|
||||||
&& git checkout ${COMMIT} \
|
&& git checkout ${COMMIT} \
|
||||||
&& CGO_ENABLED=0 make build \
|
&& CGO_ENABLED=0 make build \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN mkdir -p /out/var/run
|
RUN mkdir -p /out/var/run
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go gcc musl-dev linux-headers
|
RUN apk add --no-cache go gcc musl-dev linux-headers
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
// int rndaddentropy;
|
// extern int rndaddentropy;
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
// int rndaddentropy;
|
||||||
|
import "C"
|
||||||
|
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|
||||||
func initRand() bool {
|
func initRand() bool {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 as alpine
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 as alpine
|
||||||
RUN \
|
RUN \
|
||||||
apk add \
|
apk add \
|
||||||
bash \
|
bash \
|
||||||
@@ -7,10 +7,11 @@ RUN \
|
|||||||
go \
|
go \
|
||||||
libc-dev \
|
libc-dev \
|
||||||
libseccomp-dev \
|
libseccomp-dev \
|
||||||
|
libseccomp-static \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
make \
|
make \
|
||||||
&& true
|
&& true
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
ENV RUNC_COMMIT=v1.0.0-rc10
|
ENV RUNC_COMMIT=v1.0.0-rc10
|
||||||
RUN mkdir -p $GOPATH/src/github.com/opencontainers && \
|
RUN mkdir -p $GOPATH/src/github.com/opencontainers && \
|
||||||
cd $GOPATH/src/github.com/opencontainers && \
|
cd $GOPATH/src/github.com/opencontainers && \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:a3d78322152a8b341bdaecfe182a2689fdbdee53 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
# We need the `fstrim` binary:
|
# We need the `fstrim` binary:
|
||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
@@ -11,7 +11,7 @@ RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
|||||||
|
|
||||||
# We also need the Go binary which calls it:
|
# We also need the Go binary which calls it:
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
RUN [ $(uname -m) = aarch64 ] && apk add --no-cache gcc || true
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
|
|
||||||
ENV TROUSERS_COMMIT de57f069ef2297d6a6b3a0353e217a5a2f66e444
|
ENV TROUSERS_COMMIT 94144b0a1dcef6e31845d6c319e9bd7357208eb9
|
||||||
ENV TPM_TOOLS_COMMIT bdf9f1bc8f63cd6fc370c2deb58d03ac55079e84
|
ENV TPM_TOOLS_COMMIT bf43837575c5f7d31865562dce7778eae970052e
|
||||||
|
|
||||||
RUN apk add --no-cache --initdb \
|
RUN apk add --no-cache --initdb \
|
||||||
automake \
|
automake \
|
||||||
@@ -24,8 +24,8 @@ COPY src/glibc_stubs/ /usr/src/glibc_stubs
|
|||||||
WORKDIR /usr/src/glibc_stubs
|
WORKDIR /usr/src/glibc_stubs
|
||||||
RUN make && make install
|
RUN make && make install
|
||||||
|
|
||||||
RUN git clone https://github.com/linuxkit/mirror-trousers.git /usr/src/trousers-trousers && cd /usr/src/trousers-trousers && git checkout $TROUSERS_COMMIT
|
RUN git clone https://git.code.sf.net/p/trousers/trousers /usr/src/trousers-trousers && cd /usr/src/trousers-trousers && git checkout $TROUSERS_COMMIT
|
||||||
RUN git clone https://github.com/linuxkit/mirror-tpm-tools.git /usr/src/trousers-tpm-tools && cd /usr/src/trousers-tpm-tools && git checkout $TPM_TOOLS_COMMIT
|
RUN git clone https://git.code.sf.net/p/trousers/tpm-tools /usr/src/trousers-tpm-tools && cd /usr/src/trousers-tpm-tools && git checkout $TPM_TOOLS_COMMIT
|
||||||
WORKDIR /usr/src/trousers-trousers
|
WORKDIR /usr/src/trousers-trousers
|
||||||
RUN sh bootstrap.sh && \
|
RUN sh bootstrap.sh && \
|
||||||
./configure --prefix=/ --sysconfdir=/etc LDFLAGS="-L/out/lib/ -lgetpwent_r" && \
|
./configure --prefix=/ --sysconfdir=/etc LDFLAGS="-L/out/lib/ -lgetpwent_r" && \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS build
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev git build-base
|
RUN apk add --no-cache go musl-dev git build-base
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
ENV COMMIT=db7b7b0f8147f29360d69dc81af9e2877647f0de
|
ENV COMMIT=db7b7b0f8147f29360d69dc81af9e2877647f0de
|
||||||
|
|
||||||
RUN git clone https://github.com/moby/vpnkit.git /go/src/github.com/moby/vpnkit && \
|
RUN git clone https://github.com/moby/vpnkit.git /go/src/github.com/moby/vpnkit && \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev git build-base
|
RUN apk add --no-cache go musl-dev git build-base
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
ENV COMMIT=db7b7b0f8147f29360d69dc81af9e2877647f0de
|
ENV COMMIT=db7b7b0f8147f29360d69dc81af9e2877647f0de
|
||||||
|
|
||||||
RUN git clone https://github.com/moby/vpnkit.git /go/src/github.com/moby/vpnkit && \
|
RUN git clone https://github.com/moby/vpnkit.git /go/src/github.com/moby/vpnkit && \
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
FROM linuxkit/alpine:e2391e0b164c57db9f6c4ae110ee84f766edc430 AS mirror
|
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev git build-base
|
RUN apk add --no-cache go musl-dev git build-base
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||||
ENV VIRTSOCK_COMMIT=f1e32d3189e0dbb81c0e752a4e214617487eb41f
|
ENV VIRTSOCK_COMMIT=f1e32d3189e0dbb81c0e752a4e214617487eb41f
|
||||||
|
|
||||||
RUN git clone https://github.com/linuxkit/virtsock.git /go/src/github.com/linuxkit/virtsock && \
|
RUN git clone https://github.com/linuxkit/virtsock.git /go/src/github.com/linuxkit/virtsock && \
|
||||||
|
@@ -2,7 +2,7 @@ kernel:
|
|||||||
image: linuxkit/kernel-clear-containers:4.9.x
|
image: linuxkit/kernel-clear-containers:4.9.x
|
||||||
cmdline: "root=/dev/pmem0p1 rootflags=dax,data=ordered,errors=remount-ro rw rootfstype=ext4 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp reboot=k panic=1 console=hvc0 console=hvc1 initcall_debug iommu=off quiet cryptomgr.notests page_poison=on"
|
cmdline: "root=/dev/pmem0p1 rootflags=dax,data=ordered,errors=remount-ro rw rootfstype=ext4 tsc=reliable no_timer_check rcupdate.rcu_expedited=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1 noreplace-smp reboot=k panic=1 console=hvc0 console=hvc1 initcall_debug iommu=off quiet cryptomgr.notests page_poison=on"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c
|
image: mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c
|
||||||
|
@@ -2,32 +2,32 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:v0.8
|
image: linuxkit/sysfs:3498aa99c90a29439b5a1926f6ffcd75c270372c
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:v0.8
|
image: linuxkit/openntpd:66f25a516c7460f5e49195309cf276903741c428
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:19.03.8-dind
|
image: docker:19.03.8-dind
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -2,32 +2,32 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:v0.8
|
image: linuxkit/sysfs:3498aa99c90a29439b5a1926f6ffcd75c270372c
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:v0.8
|
image: linuxkit/format:fdad8c50d594712537f94862dab3d955cbb48fc3
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:v0.8
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:v0.8
|
image: linuxkit/openntpd:66f25a516c7460f5e49195309cf276903741c428
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:19.03.8-dind
|
image: docker:19.03.8-dind
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -2,20 +2,20 @@ kernel:
|
|||||||
image: linuxkit/kernel-ima:4.11.1-186dd3605ee7b23214850142f8f02b4679dbd148
|
image: linuxkit/kernel-ima:4.11.1-186dd3605ee7b23214850142f8f02b4679dbd148
|
||||||
cmdline: "console=ttyS0 console=tty0 page_poison=1 ima_appraise=enforce_ns"
|
cmdline: "console=ttyS0 console=tty0 page_poison=1 ima_appraise=enforce_ns"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
- linuxkit/ima-utils:dfeb3896fd29308b80ff9ba7fe5b8b767e40ca29
|
- linuxkit/ima-utils:dfeb3896fd29308b80ff9ba7fe5b8b767e40ca29
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -2,7 +2,7 @@ kernel:
|
|||||||
image: mobylinux/kernel-landlock:4.9.x
|
image: mobylinux/kernel-landlock:4.9.x
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- mobylinux/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
|
- mobylinux/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
|
||||||
- mobylinux/containerd:18eaf72f3f4f9a9f29ca1951f66df701f873060b
|
- mobylinux/containerd:18eaf72f3f4f9a9f29ca1951f66df701f873060b
|
||||||
- mobylinux/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
- mobylinux/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
||||||
|
@@ -2,16 +2,16 @@ kernel:
|
|||||||
image: "linuxkitprojects/kernel-memorizer:4.10_dbg"
|
image: "linuxkitprojects/kernel-memorizer:4.10_dbg"
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
trust:
|
trust:
|
||||||
|
@@ -2,23 +2,23 @@ kernel:
|
|||||||
image: linuxkit/kernel:4.9.34
|
image: linuxkit/kernel:4.9.34
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
- samoht/fdd
|
- samoht/fdd
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
files:
|
files:
|
||||||
- path: etc/init.d/020-fdd-init
|
- path: etc/init.d/020-fdd-init
|
||||||
mode: "0700"
|
mode: "0700"
|
||||||
|
@@ -2,12 +2,12 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcp-client
|
- name: dhcp-client
|
||||||
image: miragesdk/dhcp-client:22aa9d527820534295a8cd59901c0c5197af6585
|
image: miragesdk/dhcp-client:22aa9d527820534295a8cd59901c0c5197af6585
|
||||||
net: host
|
net: host
|
||||||
@@ -28,9 +28,9 @@ onboot:
|
|||||||
- /lib:/lib # for ifconfig
|
- /lib:/lib # for ifconfig
|
||||||
services:
|
services:
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:666b4a1a323140aa1f332826164afba506abf597
|
image: linuxkit/sshd:add8c094a9a253870b0a596796628fd4ec220b70
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
files:
|
files:
|
||||||
|
@@ -2,18 +2,18 @@ kernel:
|
|||||||
image: okernel:latest
|
image: okernel:latest
|
||||||
cmdline: "console=tty0 page_poison=1"
|
cmdline: "console=tty0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
services:
|
services:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
trust:
|
trust:
|
||||||
|
@@ -2,23 +2,23 @@ kernel:
|
|||||||
image: linuxkitprojects/kernel-shiftfs:4.11.4-881a041fc14bd95814cf140b5e98d97dd65160b5
|
image: linuxkitprojects/kernel-shiftfs:4.11.4-881a041fc14bd95814cf140b5e98d97dd65160b5
|
||||||
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
- linuxkit/ca-certificates:v0.8
|
- linuxkit/ca-certificates:4df823737c9bf6a9564b736f1a19fd25d60e909a
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:v0.8
|
image: linuxkit/sysctl:02d2bd74509fd063857ceb4c4f502f09ee4f2e0a
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:v0.8
|
image: linuxkit/getty:ed32c71531f5998aa510847bb07bd847492d4101
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:v0.8
|
image: linuxkit/rngd:bdabfe138f05f7d48396d2f435af16f5a6ccaa45
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
@@ -18,13 +18,13 @@ kernel:
|
|||||||
image: linuxkit/kernel:4.9.39
|
image: linuxkit/kernel:4.9.39
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: mkimage
|
- name: mkimage
|
||||||
image: linuxkit/mkimage:v0.8
|
image: linuxkit/mkimage:6a13c5814c95ccfb02518f8824a7c09bcea266fe
|
||||||
- name: poweroff
|
- name: poweroff
|
||||||
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
- linuxkit
|
- linuxkit
|
||||||
|
@@ -16,14 +16,14 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
outputImages = map[string]string{
|
outputImages = map[string]string{
|
||||||
"iso": "linuxkit/mkimage-iso:4f1a2476ac515983ade72814cf08624c8968f65f",
|
"iso": "linuxkit/mkimage-iso:f0ba58e54282f481a87a2b487a70568c702f001b",
|
||||||
"iso-bios": "linuxkit/mkimage-iso-bios:ea9a22b705b8201a201609905f7636fba8d061b9",
|
"iso-bios": "linuxkit/mkimage-iso-bios:2fb7eea032a8f8ec76d9ca69592046875c50683c",
|
||||||
"iso-efi": "linuxkit/mkimage-iso-efi:c62420c8588a1d1440249c2c58f325700d72280f",
|
"iso-efi": "linuxkit/mkimage-iso-efi:71c9dfc7de921e4521adbce03c01ce8282c0a9a5",
|
||||||
"raw-bios": "linuxkit/mkimage-raw-bios:4f3041edd9de02ef8f15bd92cc2d1afecb90084b",
|
"raw-bios": "linuxkit/mkimage-raw-bios:a0f4f6af871f9388639f2939a5e7bee5c467b736",
|
||||||
"raw-efi": "linuxkit/mkimage-raw-efi:9ed69b7ac9e75aef6eebaed787223d9504dd967b",
|
"raw-efi": "linuxkit/mkimage-raw-efi:bc5d55daccfe1e75bc7373b4f45fc08e3b9adea9",
|
||||||
"squashfs": "linuxkit/mkimage-squashfs:a1e99651662cb5781f8485a588ce4c85a75d7c9c",
|
"squashfs": "linuxkit/mkimage-squashfs:078f292e085fe31f508ff55a05eab958aec25e25",
|
||||||
"gcp": "linuxkit/mkimage-gcp:a7416d21d4ef642bb2ba560c8f7651250823546d",
|
"gcp": "linuxkit/mkimage-gcp:a7416d21d4ef642bb2ba560c8f7651250823546d",
|
||||||
"qcow2-efi": "linuxkit/mkimage-qcow2-efi:9a623f72befcaadb560290c29b9fb28f3843545b",
|
"qcow2-efi": "linuxkit/mkimage-qcow2-efi:2a835e4ce894070268e5fa6f53be67007452095e",
|
||||||
"vhd": "linuxkit/mkimage-vhd:4cc60c4f46b07e11c64ba618e46b81fa0096c91f",
|
"vhd": "linuxkit/mkimage-vhd:4cc60c4f46b07e11c64ba618e46b81fa0096c91f",
|
||||||
"dynamic-vhd": "linuxkit/mkimage-dynamic-vhd:99b9009ed54a793020d3ce8322a42e0cc06da71a",
|
"dynamic-vhd": "linuxkit/mkimage-dynamic-vhd:99b9009ed54a793020d3ce8322a42e0cc06da71a",
|
||||||
"vmdk": "linuxkit/mkimage-vmdk:b55ea46297a16d8a4448ce7f5a2df987a9602b27",
|
"vmdk": "linuxkit/mkimage-vmdk:b55ea46297a16d8a4448ce7f5a2df987a9602b27",
|
||||||
|
@@ -2,11 +2,11 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
|
@@ -3,13 +3,13 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
- linuxkit/containerd:1ae8f054e9fe792d1dbdb9a65f1b5e14491cb106
|
- linuxkit/containerd:cc02c2af9c928c2faeccbe4edc78bd297ad91866
|
||||||
|
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:v0.8
|
image: linuxkit/dhcpcd:1033f340e2d42f86a60aab70752346f0045ea388
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
# Add some random unsorted caps
|
# Add some random unsorted caps
|
||||||
capabilities:
|
capabilities:
|
||||||
@@ -18,7 +18,7 @@ onboot:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
- name: testservice
|
- name: testservice
|
||||||
image: linuxkit/ip:v0.8
|
image: linuxkit/ip:b98c32fab9c8997c5d05677af979f05dfcd8b3f1
|
||||||
# Some environments
|
# Some environments
|
||||||
env:
|
env:
|
||||||
- BENV=true
|
- BENV=true
|
||||||
|
@@ -2,11 +2,11 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.30
|
image: linuxkit/kernel:5.4.30
|
||||||
cmdline: "console=ttyS0 console=ttyAMA0"
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:f79954950022fea76b8b6f10de58cb48e4fb3878
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:19fa297189166206ac97261679c3e31fb140d48f
|
image: linuxkit/mount:71c868267a4503f99e84fd7698717a3669d9dfdb
|
||||||
binds.add:
|
binds.add:
|
||||||
- /check.sh:/check.sh
|
- /check.sh:/check.sh
|
||||||
- /var/tmp:/var/tmp
|
- /var/tmp:/var/tmp
|
||||||
@@ -16,7 +16,7 @@ onboot:
|
|||||||
# - /:/hostroot
|
# - /:/hostroot
|
||||||
command: ["sh", "-c", "/check.sh"]
|
command: ["sh", "-c", "/check.sh"]
|
||||||
- name: poweroff
|
- name: poweroff
|
||||||
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
||||||
command: ["/bin/sh", "/poweroff.sh", "10"]
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
||||||
files:
|
files:
|
||||||
- path: check.sh
|
- path: check.sh
|
||||||
|
@@ -2,11 +2,11 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0 console=ttyAMA0"
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: poweroff
|
- name: poweroff
|
||||||
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
||||||
command: ["/bin/sh", "/poweroff.sh", "10"]
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
|
@@ -2,11 +2,11 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0 console=ttyAMA0"
|
cmdline: "console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: poweroff
|
- name: poweroff
|
||||||
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
||||||
command: ["/bin/sh", "/poweroff.sh", "10"]
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
|
@@ -2,11 +2,11 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: poweroff
|
- name: poweroff
|
||||||
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
||||||
command: ["/bin/sh", "/poweroff.sh", "10"]
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
|
@@ -2,11 +2,11 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: poweroff
|
- name: poweroff
|
||||||
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
||||||
command: ["/bin/sh", "/poweroff.sh", "10"]
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
|
@@ -2,11 +2,11 @@ kernel:
|
|||||||
image: linuxkit/kernel:5.4.113
|
image: linuxkit/kernel:5.4.113
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:a68f9fa0c1d9dbfc9c23663749a0b7ac510cbe1c
|
- linuxkit/init:78fb57c7da07c4e43c3a37b27755581da087a3b6
|
||||||
- linuxkit/runc:v0.8
|
- linuxkit/runc:bf1e0c61fb4678d6428d0aabbd80db5ea24e4d4d
|
||||||
onboot:
|
onboot:
|
||||||
- name: poweroff
|
- name: poweroff
|
||||||
image: linuxkit/poweroff:06dd4e46c62fbe79123a028835c921f80e4855d3
|
image: linuxkit/poweroff:afe4b3ab865afe1e3ed5c88e58f57808f4f5119f
|
||||||
command: ["/bin/sh", "/poweroff.sh", "10"]
|
command: ["/bin/sh", "/poweroff.sh", "10"]
|
||||||
trust:
|
trust:
|
||||||
org:
|
org:
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user