mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-03-19 13:25:31 +00:00
Compare commits
12 Commits
v1.7.1
...
pkg-v1.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41cafa3cc3 | ||
|
|
8d19b25408 | ||
|
|
c3228fb526 | ||
|
|
506d11f06d | ||
|
|
5cd48735d5 | ||
|
|
cacc2bbb8e | ||
|
|
999110c6de | ||
|
|
1caf2feffc | ||
|
|
3d9bb9a128 | ||
|
|
1d3a8235a9 | ||
|
|
ef68e7bcd5 | ||
|
|
eae788724a |
48
.github/workflows/ci.yml
vendored
48
.github/workflows/ci.yml
vendored
@@ -1,6 +1,9 @@
|
||||
name: LinuxKit CI
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
TOTAL_SHARDS: 12 # change here once
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build & Test
|
||||
@@ -35,15 +38,15 @@ jobs:
|
||||
runs-on: ${{ matrix.target.runner }}
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.22
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22.3
|
||||
id: go
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go based on go.mod
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: 'src/cmd/linuxkit/go.mod'
|
||||
id: go
|
||||
|
||||
- name: Set path
|
||||
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
env:
|
||||
@@ -150,14 +153,43 @@ jobs:
|
||||
- name: list cache contents
|
||||
run: |
|
||||
linuxkit cache ls
|
||||
|
||||
gen_package_test_matrix:
|
||||
name: Generate Package Test Matrix
|
||||
needs: [ build_packages, build ]
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
shard_list: ${{ steps.mk.outputs.list }}
|
||||
steps:
|
||||
- name: Generate Test Matrix
|
||||
id: mk
|
||||
shell: bash
|
||||
run: |
|
||||
set -x
|
||||
N="${{ env.TOTAL_SHARDS }}"
|
||||
# Priority: repo var SHARDS → event-based default (PR=6, else 10)
|
||||
if [ -n "${{ vars.SHARDS }}" ]; then
|
||||
N="${{ vars.SHARDS }}"
|
||||
fi
|
||||
|
||||
# Build JSON array ["1/N","2/N",...,"N/N"]
|
||||
shards=""
|
||||
for i in $(seq 1 "$N"); do
|
||||
if [ -z "$shards" ]; then
|
||||
shards="\"$i/$N\""
|
||||
else
|
||||
shards="$shards,\"$i/$N\""
|
||||
fi
|
||||
done
|
||||
echo "list=[$shards]" >> "$GITHUB_OUTPUT"
|
||||
|
||||
test_packages:
|
||||
name: Packages Tests
|
||||
needs: [ build_packages, build ]
|
||||
needs: [ build_packages, build, gen_package_test_matrix ]
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
shard: [1/10,2/10,3/10,4/10,5/10,6/10,7/10,8/10,9/10,10/10]
|
||||
shard: ${{ fromJson(needs.gen_package_test_matrix.outputs.shard_list) }}
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
10
.github/workflows/package_release.yml
vendored
10
.github/workflows/package_release.yml
vendored
@@ -9,13 +9,13 @@ jobs:
|
||||
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/pkg-v')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.22
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22.3
|
||||
id: go
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Go based on go.mod
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: 'src/cmd/linuxkit/go.mod'
|
||||
id: go
|
||||
- name: Ensure bin/ directory
|
||||
run: mkdir -p bin
|
||||
- name: Install linuxkit
|
||||
|
||||
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
@@ -10,14 +10,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.122
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22.3
|
||||
id: go
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Go based on go.mod
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: 'src/cmd/linuxkit/go.mod'
|
||||
id: go
|
||||
|
||||
|
||||
- name: Set path
|
||||
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
@@ -42,14 +42,14 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.122
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22.3
|
||||
id: go
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Go based on go.mod
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: 'src/cmd/linuxkit/go.mod'
|
||||
id: go
|
||||
|
||||
|
||||
- name: Set path
|
||||
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
containers:
|
||||
- image: linuxkit/open-vm-tools:8a320f7453711f0544f4b03558aaf0b80c7c23f1
|
||||
- image: linuxkit/open-vm-tools:aa0a3b513f5020bcea5858632f0a988c81d16ed0
|
||||
name: open-vm-tools
|
||||
resources:
|
||||
requests:
|
||||
|
||||
@@ -57,7 +57,7 @@ A package source consists of a directory containing at least two files:
|
||||
- `gitrepo` _(string)_: The git repository where the package source is kept.
|
||||
- `network` _(bool)_: Allow network access during the package build (default: no)
|
||||
- `disable-cache` _(bool)_: Disable build cache for this package (default: no)
|
||||
- `buildArgs` will forward a list of build arguments down to docker. As if `--build-arg` was specified during `docker build`
|
||||
- `buildArgs` will forward a list of build arguments down to docker. As if `--build-arg` was specified during `docker build`. See [BuildArgs][BuildArgs] for more information.
|
||||
- `config`: _(struct `github.com/moby/tool/src/moby.ImageConfig`)_: Image configuration, marshalled to JSON and added as `org.mobyproject.config` label on image (default: no label)
|
||||
- `depends`: Contains information on prerequisites which must be satisfied in order to build the package. Has subfields:
|
||||
- `docker-images`: Docker images to be made available (as `tar` files via `docker image save`) within the package build context. Contains the following nested fields:
|
||||
@@ -382,6 +382,58 @@ ARG all_proxy
|
||||
LinuxKit does not judge between lower-cased or upper-cased variants of these options, e.g. `http_proxy` vs `HTTP_PROXY`,
|
||||
as `docker build` does not either. It just passes them through "as-is".
|
||||
|
||||
## Build Args
|
||||
|
||||
`linuxkit` does not support passing random CLI flags for build arguments when building packages.
|
||||
This is inline with its philosophy, of having as reproducible builds as possible, which requires
|
||||
everything to be available on disk and in the repository.
|
||||
|
||||
It is possible to bypass this, but this is not recommended.
|
||||
|
||||
As described in [Preset build arguments][Preset build arguments], linuxkit automatically sets some build arguments
|
||||
when building packages. However, you can also set your own build arguments, which will be passed to the
|
||||
`docker build` command.
|
||||
You can include your own build args in several ways.
|
||||
|
||||
* `build.yml` - you can add a `buildArgs` field to the `build.yml` file, which will be passed as `--build-arg` to `docker build`.
|
||||
* `linuxkit pkg build` - you can pass the `--build-arg-file <file>` flag, with one `<key>=<value>` pair per line, which will be passed as `--build-arg` to `docker build`.
|
||||
|
||||
When parsing for build args, whether from `build.yml`'s `buildArgs` field or from the `--build-arg-file`,
|
||||
linuxkit has support for certain calculated build args for the value of the arg. You can set these using the following syntax.
|
||||
|
||||
All calculated build args are prefixed with `@lkt:`.
|
||||
|
||||
* `VAR=@lkt:pkg:<path>` - the linuxkit package hash of the path, as determined by `linuxkit pkg show-tag <path>`. The `<path>` can be absolute, or if provided as a relative path, it is relative to the working directory of the file. For example, if provided in the `buildArgs` section of `build.yml`, it is relative to the package directory; if provided in `--build-arg-file <file>`, it is relative to the directory in which <file> exists.
|
||||
|
||||
For example:
|
||||
|
||||
```yaml
|
||||
buildArgs:
|
||||
- DEP_HASH=@lkt:pkg:/usr/local/foo # will be replaced with the value of `linuxkit pkg show-tag /usr/local/foo`
|
||||
- REL_HASH=@lkt:pkg:foo # will be replaced with the value of `linuxkit pkg show-tag foo` relative to this build.yml file
|
||||
```
|
||||
|
||||
* `VAR_%=@lkt:pkgs:<paths>` - (note `pkgs` plural) the linuxkit package hashes of the multiple packages satisfied by `<paths>`. linuxkit will get the linuxkit package hash of each path in `<paths>`, as determined by `linuxkit pkg show-tag <path>`. The `<paths>` can be absolute, or if provided as a relative path, it is relative to the working directory of the file which contains the build arg, whether `build.yml` in a package or the build arg
|
||||
file provided to `--build-arg-file <file>`. The `<paths>` supports basic shell globbing, such as `./foo/*` or `/var/foo{1,2,3}`. Globs that start with `.` will be ignored, e.g. `foo/*` will match `foo/one` and `foo/two` but not `foo/.git` and `foo/.bar`. For each package in `<paths>`, it will create a build arg with the name `VAR_<package-name>` and the value of the package hash, where: the `%` is replaced with the name of the package; an all `/` and `-` characters are replaced with `_`; all characters are upper-cased.
|
||||
|
||||
There _must_ be at least one valid environment variable character before the `%` character.
|
||||
|
||||
For example:
|
||||
|
||||
```yaml
|
||||
buildArgs:
|
||||
- DEP_HASH_%=@lkt:pkgs:/usr/local/foo/*
|
||||
```
|
||||
|
||||
If there are packages in `/usr/local/foo/` named `bar`, `baz`, and `qux`, and each of them has a package as shown
|
||||
by `linuxkit pkg show-tag` as `linuxkit/bar:123abc`, `linuxkit/baz:aabb666`, and `linuxkit/qux:bbcc777`, this will create the following build args:
|
||||
|
||||
```
|
||||
DEP_HASH_LINUXKIT_BAR=linuxkit/bar:123abc
|
||||
DEP_HASH_LINUXKIT_BAZ=linuxkit/baz:aabb666
|
||||
DEP_HASH_LINUXKIT_QUX=linuxkit/qux:bbcc777
|
||||
```
|
||||
|
||||
## Releases
|
||||
|
||||
Normally, whenever a package is updated, CI will build and push the package to Docker Hub by calling `linuxkit pkg push`.
|
||||
|
||||
@@ -2,24 +2,24 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
binds.add:
|
||||
# this will keep all of the existing ones as well
|
||||
- /var/tmp:/var/tmp
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
files:
|
||||
- path: etc/getty.shadow
|
||||
# sample sets password for root to "abcdefgh" (without quotes)
|
||||
|
||||
@@ -2,33 +2,33 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: sysfs
|
||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
||||
image: linuxkit/sysfs:8d484374bb71b04984fa1e989b1dfc34b3e258a7
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: ntpd
|
||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
||||
image: linuxkit/openntpd:c28b50438374f8a413b10297f68c65c0f31bf830
|
||||
|
||||
- name: docker
|
||||
image: docker:20.10.6-dind
|
||||
@@ -46,7 +46,7 @@ services:
|
||||
- /etc/docker/daemon.json:/etc/docker/daemon.json
|
||||
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
||||
- name: cadvisor
|
||||
image: linuxkit/cadvisor:8dfefe0f9593ba21aca5d08fadac16de907d470d
|
||||
image: linuxkit/cadvisor:5de4a2ebf2cc9be79363d1c6f5f2e71d55b5922a
|
||||
files:
|
||||
- path: var/lib/docker
|
||||
directory: true
|
||||
|
||||
@@ -3,15 +3,15 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
onshutdown:
|
||||
- name: shutdown
|
||||
@@ -19,11 +19,11 @@ onshutdown:
|
||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: nginx
|
||||
image: nginx:1.19.5-alpine
|
||||
capabilities:
|
||||
|
||||
@@ -2,30 +2,30 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
command: ["/usr/bin/format", "/dev/sda"]
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
||||
- name: loop
|
||||
image: linuxkit/losetup:095ff80d8e8fad1707741ea2584a36f3b80e787d
|
||||
image: linuxkit/losetup:2b71926debfd2ca482e694bec4ad85ddeebb63aa
|
||||
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
||||
- name: dm-crypt
|
||||
image: linuxkit/dm-crypt:981fde241bb84616a5ba94c04cdefa1489431a25
|
||||
image: linuxkit/dm-crypt:f5966a7f10705cf259ca80c30e087764b87cbd26
|
||||
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_dev", "/var/secure_storage"]
|
||||
- name: bbox
|
||||
image: busybox
|
||||
@@ -34,11 +34,11 @@ onboot:
|
||||
- /var:/var
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
files:
|
||||
- path: etc/dm-crypt/key
|
||||
# the below key is just to keep the example self-contained
|
||||
|
||||
@@ -2,24 +2,24 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
command: ["/usr/bin/format", "/dev/sda"]
|
||||
- name: dm-crypt
|
||||
image: linuxkit/dm-crypt:981fde241bb84616a5ba94c04cdefa1489431a25
|
||||
image: linuxkit/dm-crypt:f5966a7f10705cf259ca80c30e087764b87cbd26
|
||||
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"]
|
||||
- name: bbox
|
||||
image: busybox
|
||||
@@ -28,11 +28,11 @@ onboot:
|
||||
- /var:/var
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
files:
|
||||
- path: etc/dm-crypt/key
|
||||
# the below key is just to keep the example self-contained
|
||||
|
||||
@@ -3,30 +3,30 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/vpnkit-expose-port:b30e8456ac128b2ac360329898368b309ea6e477 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/vpnkit-expose-port:e39447f4ca312f9ca256e7737a6bec59bd36aec9 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
# support metadata for optional config in /run/config
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: sysfs
|
||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
||||
image: linuxkit/sysfs:8d484374bb71b04984fa1e989b1dfc34b3e258a7
|
||||
- name: binfmt
|
||||
image: linuxkit/binfmt:ce9509ccfa25002227ccd7ed8dd48d6947854427
|
||||
image: linuxkit/binfmt:0dbbe9b1394561d693fe593aab3ec83d992b20d1
|
||||
# Format and mount the disk image in /var/lib/docker
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/var/lib"]
|
||||
# make a swap file on the mounted disk
|
||||
- name: swap
|
||||
image: linuxkit/swap:f4b8ffef87c8c72165bd8a92b790ac252ccf1821
|
||||
image: linuxkit/swap:d63836313d3e63712de097aa5a1b4b8cda948106
|
||||
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
|
||||
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
||||
- name: mount-vpnkit
|
||||
@@ -44,41 +44,41 @@ onboot:
|
||||
- /var:/host_var
|
||||
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
# Enable acpi to shutdown on power events
|
||||
- name: acpid
|
||||
image: linuxkit/acpid:6cb5575e487a8fcbd4c3eb6721c23299e6ea452f
|
||||
image: linuxkit/acpid:0cbffea2a050fae4e5a942f3a3b9f52257c6db28
|
||||
# Enable getty for easier debugging
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
# Run ntpd to keep time synchronised in the VM
|
||||
- name: ntpd
|
||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
||||
image: linuxkit/openntpd:c28b50438374f8a413b10297f68c65c0f31bf830
|
||||
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
|
||||
# to a socket on the host.
|
||||
- name: vsudd
|
||||
image: linuxkit/vsudd:127acd1453f7bfda791491ac4c55be0d2b9223cc
|
||||
image: linuxkit/vsudd:e98493f495a206c83f4b1b4eb60255e15da7e223
|
||||
binds:
|
||||
- /var/run:/var/run
|
||||
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
|
||||
# vpnkit-forwarder forwards network traffic to/from the host via VSOCK port 62373.
|
||||
# It needs access to the vpnkit 9P coordination share
|
||||
- name: vpnkit-forwarder
|
||||
image: linuxkit/vpnkit-forwarder:e22bb70abdb5550c369f91ae7068c24e19beff73
|
||||
image: linuxkit/vpnkit-forwarder:870678494d2bf615787b036a87ff1bc5f477c850
|
||||
binds:
|
||||
- /var/vpnkit:/port
|
||||
net: host
|
||||
command: ["/vpnkit-forwarder", "-vsockPort", "62373"]
|
||||
# Monitor for image deletes and invoke a TRIM on the container filesystem
|
||||
- name: trim-after-delete
|
||||
image: linuxkit/trim-after-delete:fe73247abd4ab7584a75e95083543af97fe90d4d
|
||||
image: linuxkit/trim-after-delete:ffcb95df35984f0b28951f3483a38cafb6f2198e
|
||||
# When the host resumes from sleep, force a clock resync
|
||||
- name: host-timesync-daemon
|
||||
image: linuxkit/host-timesync-daemon:548bfe9d35c930ee42d6c0485bb4bf25d2729bad
|
||||
image: linuxkit/host-timesync-daemon:2c39149907038dcc7ab4731f079e1880cfb19bd7
|
||||
# Run dockerd with the vpnkit userland proxy from the vpnkit-forwarder container.
|
||||
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
|
||||
# for vpnkit coordination and /run/config/docker for the configuration file.
|
||||
|
||||
@@ -2,31 +2,31 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: sysfs
|
||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
||||
image: linuxkit/sysfs:8d484374bb71b04984fa1e989b1dfc34b3e258a7
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
- name: ntpd
|
||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
||||
image: linuxkit/openntpd:c28b50438374f8a413b10297f68c65c0f31bf830
|
||||
- name: docker
|
||||
image: docker:20.10.6-dind
|
||||
capabilities:
|
||||
|
||||
@@ -2,24 +2,24 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
# to make insecure with passwordless root login, uncomment following lines
|
||||
#env:
|
||||
# - INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
files:
|
||||
- path: etc/getty.shadow
|
||||
# sample sets password for root to "abcdefgh" (without quotes)
|
||||
|
||||
@@ -2,15 +2,15 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
onshutdown:
|
||||
- name: shutdown
|
||||
@@ -18,7 +18,7 @@ onshutdown:
|
||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
runtime:
|
||||
@@ -30,7 +30,7 @@ services:
|
||||
destination: writeable-host-etc
|
||||
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: nginx
|
||||
image: nginx:1.13.8-alpine
|
||||
capabilities:
|
||||
|
||||
@@ -2,17 +2,17 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: influxdb
|
||||
|
||||
@@ -3,21 +3,21 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/memlogd:e28ecaa23a3693ae96575fb3bc421bc1d9f46c4f
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
- linuxkit/memlogd:c5521cc1bb602f8b6343c071e05da596523a4196
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
# Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
# A service which generates log messages for testing
|
||||
@@ -25,6 +25,6 @@ services:
|
||||
image: alpine:3.13
|
||||
command: ["/bin/sh", "-c", "while /bin/true; do echo hello $(date); sleep 1; done" ]
|
||||
- name: write-and-rotate-logs
|
||||
image: linuxkit/logwrite:3f138a010098862845b7270fc3715a03d0e3871e
|
||||
image: linuxkit/logwrite:8a0a9aa499adcd30fd6729a29e0567b14a4d468f
|
||||
- name: kmsg
|
||||
image: linuxkit/kmsg:9b0a33abebde8de005a3bfaf8dc06f183a9ba7b8
|
||||
image: linuxkit/kmsg:c4616ea416202761421215ee1783108610175126
|
||||
|
||||
@@ -2,15 +2,15 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
onboot:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
|
||||
@@ -2,17 +2,17 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
- name: node_exporter
|
||||
image: linuxkit/node_exporter:1415b52c08ddc5799b2fc83cf3f080c56c3ff5a9
|
||||
image: linuxkit/node_exporter:0acda272031d6475c229e440e1ac0643f290b06c
|
||||
|
||||
@@ -2,24 +2,24 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
command: ["/usr/bin/metadata", "openstack"]
|
||||
services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
||||
@@ -2,26 +2,26 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd2
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
||||
@@ -2,20 +2,20 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /root/.ssh:/root/.ssh
|
||||
files:
|
||||
|
||||
@@ -10,5 +10,5 @@ kernel:
|
||||
ucode: ""
|
||||
onboot:
|
||||
- name: modprobe
|
||||
image: linuxkit/modprobe:773ee174006ecbb412830e48889795bae40b62f9
|
||||
image: linuxkit/modprobe:c2d61d0989a54b0d41b8622304fb0f1f00e173e3
|
||||
command: ["modprobe", "nicvf"]
|
||||
|
||||
@@ -3,32 +3,32 @@ kernel:
|
||||
cmdline: console=ttyS1
|
||||
ucode: intel-ucode.cpio
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/firmware:bfc7802f909c4b760de5dd2bc02a7f52e86b78f7
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
- linuxkit/firmware:c9c7d24ecc626db5d293d31ffaaed0a7ffa776e6
|
||||
onboot:
|
||||
- name: rngd1
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
command: ["/sbin/rngd", "-1"]
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
command: ["/usr/bin/metadata", "equinixmetal"]
|
||||
services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /root/.ssh:/root/.ssh
|
||||
files:
|
||||
|
||||
@@ -2,27 +2,27 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
||||
@@ -3,32 +3,32 @@ kernel:
|
||||
cmdline: console=ttyS1
|
||||
ucode: intel-ucode.cpio
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/firmware:bfc7802f909c4b760de5dd2bc02a7f52e86b78f7
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
- linuxkit/firmware:c9c7d24ecc626db5d293d31ffaaed0a7ffa776e6
|
||||
onboot:
|
||||
- name: rngd1
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
command: ["/sbin/rngd", "-1"]
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
command: ["/usr/bin/metadata", "hetzner"]
|
||||
services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /root/.ssh:/root/.ssh
|
||||
files:
|
||||
|
||||
@@ -2,24 +2,24 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71-rt
|
||||
cmdline: "console=tty0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
- name: open-vm-tools
|
||||
image: linuxkit/open-vm-tools:8a320f7453711f0544f4b03558aaf0b80c7c23f1
|
||||
image: linuxkit/open-vm-tools:aa0a3b513f5020bcea5858632f0a988c81d16ed0
|
||||
- name: nginx
|
||||
image: nginx:1.13.8-alpine
|
||||
capabilities:
|
||||
|
||||
@@ -2,25 +2,25 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0 root=/dev/vda"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: rngd1
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
command: ["/sbin/rngd", "-1"]
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
|
||||
@@ -2,22 +2,22 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
- name: nginx
|
||||
image: nginx:1.13.8-alpine
|
||||
capabilities:
|
||||
|
||||
@@ -2,28 +2,28 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: metadata
|
||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
||||
image: linuxkit/metadata:db835ad616084adb6b474e7fd804928fd1d5dd5f
|
||||
command: ["/usr/bin/metadata", "vultr"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||
- name: nginx
|
||||
|
||||
@@ -4,16 +4,16 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
onboot:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
# Currently redis:4.0.6-alpine has trust issue with multi-arch
|
||||
|
||||
@@ -2,27 +2,27 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: rngd1
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
command: ["/sbin/rngd", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /root/.ssh:/root/.ssh
|
||||
files:
|
||||
|
||||
@@ -2,18 +2,18 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
onboot:
|
||||
- name: ip
|
||||
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
|
||||
image: linuxkit/ip:afb85d0e238bb26f35546d98c14d41b6f41ccd50
|
||||
binds:
|
||||
- /etc/ip:/etc/ip
|
||||
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
files:
|
||||
|
||||
@@ -2,30 +2,30 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/var/external"]
|
||||
- name: swap
|
||||
image: linuxkit/swap:f4b8ffef87c8c72165bd8a92b790ac252ccf1821
|
||||
image: linuxkit/swap:d63836313d3e63712de097aa5a1b4b8cda948106
|
||||
# to use unencrypted swap, use:
|
||||
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
|
||||
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
|
||||
@@ -2,25 +2,25 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: tss
|
||||
image: linuxkit/tss:dbdcce4c3a840f8337d20991807439b2096a1457
|
||||
image: linuxkit/tss:3da81eb650611fcdd465499b1af659039dc03af6
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
files:
|
||||
- path: etc/getty.shadow
|
||||
# sample sets password for root to "abcdefgh" (without quotes)
|
||||
|
||||
@@ -3,15 +3,15 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
onshutdown:
|
||||
- name: shutdown
|
||||
@@ -19,11 +19,11 @@ onshutdown:
|
||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: nginx
|
||||
image: nginx:1.19.5-alpine
|
||||
capabilities:
|
||||
|
||||
@@ -2,12 +2,12 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
onboot:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: mount-vpnkit
|
||||
image: alpine:3.13
|
||||
@@ -19,11 +19,11 @@ onboot:
|
||||
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
|
||||
services:
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
binds.add:
|
||||
- /root/.ssh:/root/.ssh
|
||||
- name: vpnkit-forwarder
|
||||
image: linuxkit/vpnkit-forwarder:e22bb70abdb5550c369f91ae7068c24e19beff73
|
||||
image: linuxkit/vpnkit-forwarder:870678494d2bf615787b036a87ff1bc5f477c850
|
||||
binds:
|
||||
- /var/vpnkit:/port
|
||||
net: host
|
||||
|
||||
@@ -2,16 +2,16 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
onboot:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: vsudd
|
||||
image: linuxkit/vsudd:127acd1453f7bfda791491ac4c55be0d2b9223cc
|
||||
image: linuxkit/vsudd:e98493f495a206c83f4b1b4eb60255e15da7e223
|
||||
binds:
|
||||
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
|
||||
command: ["/vsudd",
|
||||
|
||||
@@ -2,18 +2,18 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: wg0
|
||||
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
|
||||
image: linuxkit/ip:afb85d0e238bb26f35546d98c14d41b6f41ccd50
|
||||
net: new
|
||||
binds:
|
||||
- /etc/wireguard:/etc/wireguard
|
||||
@@ -26,7 +26,7 @@ onboot:
|
||||
bindNS:
|
||||
net: /run/netns/wg0
|
||||
- name: wg1
|
||||
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
|
||||
image: linuxkit/ip:afb85d0e238bb26f35546d98c14d41b6f41ccd50
|
||||
net: new
|
||||
binds:
|
||||
- /etc/wireguard:/etc/wireguard
|
||||
@@ -40,12 +40,12 @@ onboot:
|
||||
net: /run/netns/wg1
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
net: /run/netns/wg1
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: nginx
|
||||
image: nginx:1.13.8-alpine
|
||||
net: /run/netns/wg0
|
||||
|
||||
16
linuxkit.yml
16
linuxkit.yml
@@ -2,15 +2,15 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
onshutdown:
|
||||
- name: shutdown
|
||||
@@ -18,11 +18,11 @@ onshutdown:
|
||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: nginx
|
||||
image: nginx:1.19.5-alpine
|
||||
capabilities:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
@@ -6,7 +6,7 @@ RUN apk add --no-cache --initdb -p /out \
|
||||
busybox
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror2
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror2
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
acpid
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Use Debian testing Qemu 4.2.0 until https://bugs.alpinelinux.org/issues/8131 is resolved.
|
||||
FROM debian@sha256:d828cca5497a2519da9c6d42372066895fa28a69f1e8a46a38ce8f750bd2adf0 AS qemu
|
||||
FROM debian@sha256:731dd1380d6a8d170a695dbeb17fe0eade0e1c29f654cf0a3a07f372191c3f4b AS qemu
|
||||
RUN apt-get update && apt-get install -y qemu-user-static && \
|
||||
mv /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64 && \
|
||||
mv /usr/bin/qemu-arm-static /usr/bin/qemu-arm && \
|
||||
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y qemu-user-static && \
|
||||
mv /usr/bin/qemu-loongarch64-static /usr/bin/qemu-loongarch64 && \
|
||||
rm /usr/bin/qemu-*-static
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
RUN apk add --update \
|
||||
bison \
|
||||
build-base \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 as alpine
|
||||
|
||||
RUN apk add ca-certificates
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 as build
|
||||
|
||||
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
|
||||
@@ -21,7 +21,7 @@ RUN mkdir -p /go/src/${GITBASE} \
|
||||
&& mv _output/cadvisor /usr/bin/
|
||||
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Dockerfile to build linuxkit/containerd for linuxkit
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 as alpine
|
||||
|
||||
RUN apk add tzdata binutils
|
||||
RUN mkdir -p /etc/init.d && ln -s /usr/bin/service /etc/init.d/020-containerd
|
||||
|
||||
FROM linuxkit/containerd-dev:fb4bf37a114ce1eb8a2c4ed3db91a50301805e2c as containerd-dev
|
||||
FROM linuxkit/containerd-dev:1a4eee3fc0d683667c9115256f035f792f681f30 as containerd-dev
|
||||
|
||||
FROM scratch
|
||||
ENTRYPOINT []
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
alpine-baselayout \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
alpine-baselayout \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
RUN apk add --no-cache --initdb make
|
||||
|
||||
FROM scratch
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
@@ -15,7 +15,7 @@ RUN apk add --no-cache --initdb -p /out \
|
||||
&& true
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
RUN apk add --no-cache git
|
||||
|
||||
# Make sure you also update the FW_COMMIT in ../firmware/Dockerfile
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Make modules from a recentish kernel available
|
||||
FROM linuxkit/kernel:6.6.71 AS kernel
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
RUN apk add --no-cache git kmod
|
||||
|
||||
# Clone the firmware repository
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
@@ -15,7 +15,7 @@ RUN apk add --no-cache --initdb -p /out \
|
||||
&& true
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Dockerfile to build linuxkit/getty for linuxkit
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev git
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Dockerfile to build linuxkit/init for linuxkit
|
||||
FROM linuxkit/containerd-dev:fb4bf37a114ce1eb8a2c4ed3db91a50301805e2c AS containerd-dev
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/containerd-dev:1a4eee3fc0d683667c9115256f035f792f681f30 AS containerd-dev
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
RUN apk add --no-cache --initdb alpine-baselayout make gcc musl-dev git linux-headers
|
||||
|
||||
ADD usermode-helper.c ./
|
||||
@@ -27,7 +27,7 @@ RUN go-compile.sh /go/src/cmd/service
|
||||
# volumes link to start
|
||||
RUN mkdir -p /etc/init.d && ln -s /usr/bin/service /etc/init.d/005-volumes
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add curl
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev linux-headers
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
alpine-baselayout \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Dockerfile to build linuxkit/memlogd for linuxkit
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev linux-headers
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -43,7 +43,7 @@ func (p *ProviderScaleway) Probe() bool {
|
||||
// Getting the conf should always work...
|
||||
_, err := scalewayGet(scalewayMetadataURL + "conf")
|
||||
if err != nil {
|
||||
log.Printf(err.Error())
|
||||
log.Print(err.Error())
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Dockerfile to build linuxkit/modprobe for linuxkit
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
@@ -9,7 +9,7 @@ RUN apk add --no-cache --initdb -p /out \
|
||||
&& true
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 as build
|
||||
|
||||
RUN apk add --no-cache go git musl-dev make curl gcc
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
alpine-baselayout \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN mkdir -p /out/var/run
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go gcc musl-dev linux-headers
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Dockerfile to build linuxkit/runc for linuxkit
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 as alpine
|
||||
RUN \
|
||||
apk add \
|
||||
bash \
|
||||
@@ -13,7 +13,7 @@ RUN \
|
||||
make \
|
||||
&& true
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||
ENV RUNC_COMMIT=v1.1.12
|
||||
ENV RUNC_COMMIT=v1.3.0
|
||||
RUN mkdir -p $GOPATH/src/github.com/opencontainers && \
|
||||
cd $GOPATH/src/github.com/opencontainers && \
|
||||
git clone https://github.com/opencontainers/runc.git
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Dockerfile to build linuxkit/sysctl for linuxkit
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev
|
||||
ARG GOPKGVERSION
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# We need the `fstrim` binary:
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||
RUN apk add --no-cache --initdb -p /out \
|
||||
alpine-baselayout \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
|
||||
ENV TROUSERS_COMMIT 94144b0a1dcef6e31845d6c319e9bd7357208eb9
|
||||
ENV TPM_TOOLS_COMMIT bf43837575c5f7d31865562dce7778eae970052e
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS build
|
||||
|
||||
RUN apk add --no-cache go musl-dev git build-base
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev git build-base
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
||||
FROM linuxkit/alpine:6090baae063eb5023c9601966e88df831f789a70 AS mirror
|
||||
|
||||
RUN apk add --no-cache go musl-dev git build-base
|
||||
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
||||
|
||||
@@ -2,7 +2,7 @@ kernel:
|
||||
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"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: mobylinux/sysctl:2cf2f9d5b4d314ba1bfc22b2fe931924af666d8c
|
||||
|
||||
@@ -2,32 +2,32 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: sysfs
|
||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
||||
image: linuxkit/sysfs:8d484374bb71b04984fa1e989b1dfc34b3e258a7
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: ntpd
|
||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
||||
image: linuxkit/openntpd:c28b50438374f8a413b10297f68c65c0f31bf830
|
||||
- name: docker
|
||||
image: docker:20.10.6-dind
|
||||
capabilities:
|
||||
|
||||
@@ -2,32 +2,32 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: sysfs
|
||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
||||
image: linuxkit/sysfs:8d484374bb71b04984fa1e989b1dfc34b3e258a7
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
- name: format
|
||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
||||
image: linuxkit/format:512d4fb6cd40c1d90a4aa8335d1bd167fa34a10e
|
||||
- name: mount
|
||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
||||
image: linuxkit/mount:54906e884b21aca02bf5ecae65f3741b89d8c4e6
|
||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: ntpd
|
||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
||||
image: linuxkit/openntpd:c28b50438374f8a413b10297f68c65c0f31bf830
|
||||
- name: docker
|
||||
image: docker:20.10.6-dind
|
||||
capabilities:
|
||||
|
||||
@@ -2,20 +2,20 @@ kernel:
|
||||
image: linuxkit/kernel-ima:4.11.1-186dd3605ee7b23214850142f8f02b4679dbd148
|
||||
cmdline: "console=ttyS0 console=tty0 page_poison=1 ima_appraise=enforce_ns"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
- linuxkit/ima-utils:dfeb3896fd29308b80ff9ba7fe5b8b767e40ca29
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: nginx
|
||||
image: nginx:1.13.8-alpine
|
||||
capabilities:
|
||||
|
||||
@@ -2,7 +2,7 @@ kernel:
|
||||
image: mobylinux/kernel-landlock:4.9.x
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- mobylinux/runc:b0fb122e10dbb7e4e45115177a61a3f8d68c19a9
|
||||
- mobylinux/containerd:18eaf72f3f4f9a9f29ca1951f66df701f873060b
|
||||
- mobylinux/ca-certificates:eabc5a6e59f05aa91529d80e9a595b85b046f935
|
||||
|
||||
@@ -2,16 +2,16 @@ kernel:
|
||||
image: "linuxkitprojects/kernel-memorizer:4.10_dbg"
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
onboot:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
trust:
|
||||
|
||||
@@ -2,23 +2,23 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
- samoht/fdd
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
files:
|
||||
- path: etc/init.d/020-fdd-init
|
||||
mode: "0700"
|
||||
|
||||
@@ -2,12 +2,12 @@ kernel:
|
||||
image: linuxkit/kernel:6.6.71
|
||||
cmdline: "console=ttyS0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcp-client
|
||||
image: miragesdk/dhcp-client:22aa9d527820534295a8cd59901c0c5197af6585
|
||||
net: host
|
||||
@@ -28,9 +28,9 @@ onboot:
|
||||
- /lib:/lib # for ifconfig
|
||||
services:
|
||||
- name: sshd
|
||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
||||
image: linuxkit/sshd:240e5e4f716bce51099b3785c209bf37613db8f0
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
files:
|
||||
|
||||
@@ -2,18 +2,18 @@ kernel:
|
||||
image: okernel:latest
|
||||
cmdline: "console=tty0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
services:
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
trust:
|
||||
|
||||
@@ -2,23 +2,23 @@ kernel:
|
||||
image: linuxkitprojects/kernel-shiftfs:4.11.4-881a041fc14bd95814cf140b5e98d97dd65160b5
|
||||
cmdline: "console=ttyS0 console=tty0 page_poison=1"
|
||||
init:
|
||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
||||
- linuxkit/init:680da6e6f79bb8236a095147d532cd2160e23c9f
|
||||
- linuxkit/runc:2dfee46421e963d6c0d946137e46fe36fa606d29
|
||||
- linuxkit/containerd:838b745e38e43309393675ce3cf04bee9047eb91
|
||||
- linuxkit/ca-certificates:a4f15fe71bb0ad7560ff78f48504dd2af500a442
|
||||
onboot:
|
||||
- name: sysctl
|
||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
||||
image: linuxkit/sysctl:2fad4cdf96faa97bf7888696b8c3ca00f98137af
|
||||
- name: dhcpcd
|
||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
||||
image: linuxkit/dhcpcd:4681273eeea47c26d980958656e60fe70d49e318
|
||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||
services:
|
||||
- name: getty
|
||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
||||
image: linuxkit/getty:37a16fb37f56ad0aee6532c1a39d780416f7fb80
|
||||
env:
|
||||
- INSECURE=true
|
||||
- name: rngd
|
||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
||||
image: linuxkit/rngd:80f22b0f60d23c29ce28d06674bc77fe3775a38b
|
||||
- name: nginx
|
||||
image: nginx:1.13.8-alpine
|
||||
capabilities:
|
||||
|
||||
2
src/cmd/linuxkit/cache/find.go
vendored
2
src/cmd/linuxkit/cache/find.go
vendored
@@ -83,7 +83,7 @@ func (p *Provider) findIndex(imageName string) (v1.ImageIndex, error) {
|
||||
|
||||
// FindDescriptor get the first descriptor pointed to by the image reference, whether tagged or digested
|
||||
func (p *Provider) FindDescriptor(ref *reference.Spec) (*v1.Descriptor, error) {
|
||||
index, err := p.cache.ImageIndex()
|
||||
index, err := p.Index()
|
||||
// if there is no root index, we are broken
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("invalid image cache: %v", err)
|
||||
|
||||
2
src/cmd/linuxkit/cache/image.go
vendored
2
src/cmd/linuxkit/cache/image.go
vendored
@@ -14,7 +14,7 @@ func ListImages(dir string) (map[string]string, error) {
|
||||
}
|
||||
|
||||
func (p *Provider) List() (map[string]string, error) {
|
||||
ii, err := p.cache.ImageIndex()
|
||||
ii, err := p.Index()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
14
src/cmd/linuxkit/cache/provider.go
vendored
14
src/cmd/linuxkit/cache/provider.go
vendored
@@ -7,6 +7,7 @@ import (
|
||||
|
||||
"github.com/containerd/containerd/v2/core/content"
|
||||
"github.com/containerd/containerd/v2/plugins/content/local"
|
||||
v1 "github.com/google/go-containerregistry/pkg/v1"
|
||||
"github.com/google/go-containerregistry/pkg/v1/layout"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/util"
|
||||
log "github.com/sirupsen/logrus"
|
||||
@@ -37,6 +38,19 @@ func NewProvider(dir string) (*Provider, error) {
|
||||
return p, nil
|
||||
}
|
||||
|
||||
// Index returns the root image index for the cache.
|
||||
// All attempts to read the index *must* use this function, so that it will lock the cache to prevent concurrent access.
|
||||
// The underlying library writes modifications directly to the index,
|
||||
// so not only must ensure that that only one process is writing at a time, but that no one is reading
|
||||
// while we are writing, to avoid corruption.
|
||||
func (p *Provider) Index() (v1.ImageIndex, error) {
|
||||
if p.Lock() != nil {
|
||||
return nil, fmt.Errorf("unable to lock cache %s", p.dir)
|
||||
}
|
||||
defer p.Unlock()
|
||||
return p.cache.ImageIndex()
|
||||
}
|
||||
|
||||
// Lock locks the cache directory to prevent concurrent access
|
||||
func (p *Provider) Lock() error {
|
||||
// if the lock is already set, we do not need to do anything
|
||||
|
||||
3
src/cmd/linuxkit/cache/pull.go
vendored
3
src/cmd/linuxkit/cache/pull.go
vendored
@@ -12,6 +12,7 @@ import (
|
||||
"github.com/google/go-containerregistry/pkg/v1/partial"
|
||||
"github.com/google/go-containerregistry/pkg/v1/remote"
|
||||
"github.com/google/go-containerregistry/pkg/v1/validate"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/registry"
|
||||
lktspec "github.com/linuxkit/linuxkit/src/cmd/linuxkit/spec"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/util"
|
||||
imagespec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
@@ -175,7 +176,7 @@ func (p *Provider) Pull(name string, withArchReferences bool) error {
|
||||
// before we even try to push, let us see if it exists remotely
|
||||
remoteOptions := []remote.Option{remote.WithAuthFromKeychain(authn.DefaultKeychain)}
|
||||
|
||||
desc, err := remote.Get(ref, remoteOptions...)
|
||||
desc, err := registry.GetRemote().Get(ref, remoteOptions...)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error getting manifest for trusted image %s: %v", name, err)
|
||||
}
|
||||
|
||||
7
src/cmd/linuxkit/cache/push.go
vendored
7
src/cmd/linuxkit/cache/push.go
vendored
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/google/go-containerregistry/pkg/v1/validate"
|
||||
|
||||
"github.com/google/go-containerregistry/pkg/v1/mutate"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/registry"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/util"
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
@@ -39,7 +40,7 @@ func (p *Provider) Push(name, remoteName string, withArchSpecificTags, override
|
||||
|
||||
// check if it already exists, unless override is explicit
|
||||
if !override {
|
||||
if _, err := remote.Get(ref, options...); err == nil {
|
||||
if _, err := registry.GetRemote().Get(ref, options...); err == nil {
|
||||
log.Infof("image %s already exists in the registry, skipping", remoteName)
|
||||
return nil
|
||||
}
|
||||
@@ -64,7 +65,7 @@ func (p *Provider) Push(name, remoteName string, withArchSpecificTags, override
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not get digest for local image %s: %v", name, err)
|
||||
}
|
||||
desc, err := remote.Get(ref, remoteOptions...)
|
||||
desc, err := registry.GetRemote().Get(ref, remoteOptions...)
|
||||
if err == nil && desc != nil && dig == desc.Digest {
|
||||
fmt.Printf("%s image already available on remote registry, skipping push\n", remoteName)
|
||||
return nil
|
||||
@@ -85,7 +86,7 @@ func (p *Provider) Push(name, remoteName string, withArchSpecificTags, override
|
||||
}
|
||||
|
||||
// get the existing image, if any
|
||||
desc, err := remote.Get(ref, remoteOptions...)
|
||||
desc, err := registry.GetRemote().Get(ref, remoteOptions...)
|
||||
if err == nil && desc != nil {
|
||||
if dig == desc.Digest {
|
||||
fmt.Printf("%s index already available on remote registry, skipping push\n", remoteName)
|
||||
|
||||
@@ -51,7 +51,7 @@ func (l layoutIndex) Digest() (v1.Hash, error) {
|
||||
// a given imageName.
|
||||
func (p *Provider) FindRoot(imageName string) (ResolvableDescriptor, error) {
|
||||
matcher := match.Name(imageName)
|
||||
rootIndex, err := p.cache.ImageIndex()
|
||||
rootIndex, err := p.Index()
|
||||
// of there is no root index, we are broken
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("invalid image cache: %v", err)
|
||||
|
||||
7
src/cmd/linuxkit/cache/write.go
vendored
7
src/cmd/linuxkit/cache/write.go
vendored
@@ -18,6 +18,7 @@ import (
|
||||
"github.com/google/go-containerregistry/pkg/v1/partial"
|
||||
"github.com/google/go-containerregistry/pkg/v1/remote"
|
||||
"github.com/google/go-containerregistry/pkg/v1/types"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/registry"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/util"
|
||||
imagespec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
log "github.com/sirupsen/logrus"
|
||||
@@ -71,7 +72,7 @@ func (p *Provider) ImagePull(ref *reference.Spec, platforms []imagespec.Platform
|
||||
return fmt.Errorf("invalid image name %s: %v", pullImageName, err)
|
||||
}
|
||||
|
||||
desc, err := remote.Get(remoteRef, remoteOptions...)
|
||||
desc, err := registry.GetRemote().Get(remoteRef, remoteOptions...)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error getting manifest for image %s: %v", pullImageName, err)
|
||||
}
|
||||
@@ -239,7 +240,7 @@ func (p *Provider) IndexWrite(ref *reference.Spec, descriptors ...v1.Descriptor)
|
||||
return errors.New("cannot create index without any manifests")
|
||||
}
|
||||
|
||||
ii, err := p.cache.ImageIndex()
|
||||
ii, err := p.Index()
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to get root index: %v", err)
|
||||
}
|
||||
@@ -430,7 +431,7 @@ func (p *Provider) ImageInRegistry(ref *reference.Spec, trustedRef, architecture
|
||||
return false, fmt.Errorf("invalid image name %s: %v", image, err)
|
||||
}
|
||||
|
||||
desc, err := remote.Get(remoteRef, remoteOptions...)
|
||||
desc, err := registry.GetRemote().Get(remoteRef, remoteOptions...)
|
||||
if err != nil {
|
||||
log.Debugf("Retrieving image %s returned an error, ignoring: %v", image, err)
|
||||
return false, nil
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"os"
|
||||
|
||||
namepkg "github.com/google/go-containerregistry/pkg/name"
|
||||
"github.com/google/go-containerregistry/pkg/v1/remote"
|
||||
cachepkg "github.com/linuxkit/linuxkit/src/cmd/linuxkit/cache"
|
||||
"github.com/linuxkit/linuxkit/src/cmd/linuxkit/registry"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
@@ -58,7 +58,7 @@ func removeImagesFromCache(images map[string]string, p *cachepkg.Provider, publi
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
desc, err := remote.Get(ref)
|
||||
desc, err := registry.GetRemote().Get(ref)
|
||||
if err != nil {
|
||||
log.Debugf("image %s not found in remote registry or error, leaving in cache: %v", name, err)
|
||||
fmt.Fprintf(os.Stderr, "image %s not found in remote registry, leaving in cache", name)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user