mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-03-19 22:40:37 +00:00
Compare commits
81 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4cfb70d3cc | ||
|
|
3751bb6d79 | ||
|
|
bdef7e865a | ||
|
|
666bbfdbd5 | ||
|
|
c766f572ce | ||
|
|
72a76e5b79 | ||
|
|
a85160e4d6 | ||
|
|
ccb0787e2a | ||
|
|
e0151386c8 | ||
|
|
4129cc7999 | ||
|
|
367e1f832a | ||
|
|
7c7ac4e640 | ||
|
|
50025b8840 | ||
|
|
62c4fdb3d7 | ||
|
|
a066b29c1d | ||
|
|
fe86d9c345 | ||
|
|
5fd23cf059 | ||
|
|
f935f6b18c | ||
|
|
2ffdb936ad | ||
|
|
c4e3043089 | ||
|
|
a2753b8da3 | ||
|
|
cde127790c | ||
|
|
478807bd58 | ||
|
|
2dd1217392 | ||
|
|
56e37a842e | ||
|
|
804d52374e | ||
|
|
238449c2d6 | ||
|
|
e9114d690c | ||
|
|
f5c8db72f4 | ||
|
|
f73fa3b088 | ||
|
|
91a857dbfc | ||
|
|
8fa6ab79b6 | ||
|
|
1723cf9493 | ||
|
|
6786caa59b | ||
|
|
72de5c6476 | ||
|
|
38c84d8c3c | ||
|
|
c56bc379e6 | ||
|
|
7dfbca36c7 | ||
|
|
315cead648 | ||
|
|
35ab913bfb | ||
|
|
397d7c2943 | ||
|
|
5673ee1bfb | ||
|
|
dadefbc5eb | ||
|
|
5f0b5f292e | ||
|
|
17e9b4412b | ||
|
|
ffd4a12ba2 | ||
|
|
c5d422c9d7 | ||
|
|
07231ef799 | ||
|
|
2e3df6e42b | ||
|
|
1200d24201 | ||
|
|
be7c483e17 | ||
|
|
d94f2e9095 | ||
|
|
47d5c89132 | ||
|
|
a8cf7dabec | ||
|
|
4c81a1408b | ||
|
|
43200ea634 | ||
|
|
bb0cf49975 | ||
|
|
2ed6850397 | ||
|
|
a755fd917d | ||
|
|
358803fcc7 | ||
|
|
9da6903609 | ||
|
|
179f74ac24 | ||
|
|
41cafa3cc3 | ||
|
|
8d19b25408 | ||
|
|
c3228fb526 | ||
|
|
506d11f06d | ||
|
|
5cd48735d5 | ||
|
|
cacc2bbb8e | ||
|
|
999110c6de | ||
|
|
1caf2feffc | ||
|
|
3d9bb9a128 | ||
|
|
1d3a8235a9 | ||
|
|
ef68e7bcd5 | ||
|
|
eae788724a | ||
|
|
bc44cb899c | ||
|
|
33ee27971d | ||
|
|
fa246722e2 | ||
|
|
c0c5668116 | ||
|
|
2b4687338b | ||
|
|
940c1b7b3b | ||
|
|
818bccf20f |
48
.github/workflows/ci.yml
vendored
48
.github/workflows/ci.yml
vendored
@@ -1,6 +1,9 @@
|
|||||||
name: LinuxKit CI
|
name: LinuxKit CI
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
env:
|
||||||
|
TOTAL_SHARDS: 12 # change here once
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build & Test
|
name: Build & Test
|
||||||
@@ -35,15 +38,15 @@ jobs:
|
|||||||
runs-on: ${{ matrix.target.runner }}
|
runs-on: ${{ matrix.target.runner }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go 1.22
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: 1.22.3
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Set path
|
||||||
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
env:
|
env:
|
||||||
@@ -150,14 +153,43 @@ jobs:
|
|||||||
- name: list cache contents
|
- name: list cache contents
|
||||||
run: |
|
run: |
|
||||||
linuxkit cache ls
|
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:
|
test_packages:
|
||||||
name: Packages Tests
|
name: Packages Tests
|
||||||
needs: [ build_packages, build ]
|
needs: [ build_packages, build, gen_package_test_matrix ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
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:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
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')
|
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/pkg-v')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.22
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: 1.22.3
|
|
||||||
id: go
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Ensure bin/ directory
|
||||||
run: mkdir -p bin
|
run: mkdir -p bin
|
||||||
- name: Install linuxkit
|
- name: Install linuxkit
|
||||||
|
|||||||
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
@@ -10,14 +10,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go 1.122
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: 1.22.3
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Set path
|
||||||
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
@@ -42,14 +42,14 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go 1.122
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: 1.22.3
|
|
||||||
id: go
|
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Set path
|
||||||
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
@@ -88,10 +88,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make checksum-targets
|
make checksum-targets
|
||||||
- name: GitHub Release
|
- name: GitHub Release
|
||||||
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: false
|
||||||
files: bin/*
|
files: bin/*
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
operator: Exists
|
operator: Exists
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
containers:
|
containers:
|
||||||
- image: linuxkit/open-vm-tools:8a320f7453711f0544f4b03558aaf0b80c7c23f1
|
- image: linuxkit/open-vm-tools:ce668b7064e26dbb4767a9106aae8cb888a3a61c
|
||||||
name: open-vm-tools
|
name: open-vm-tools
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
@@ -59,3 +59,31 @@ is provided, it always will pull, independent of what is in the cache.
|
|||||||
|
|
||||||
The read process is smart enough to check each blob in the local cache before downloading
|
The read process is smart enough to check each blob in the local cache before downloading
|
||||||
it from a registry.
|
it from a registry.
|
||||||
|
|
||||||
|
## Imports from local Docker instance
|
||||||
|
|
||||||
|
To import an image from your local Docker daemon into LinuxKit, you’ll need to ensure the image is exported in the [OCI image format](https://docs.docker.com/build/exporters/oci-docker/), which LinuxKit understands.
|
||||||
|
|
||||||
|
This requires using a `docker-container` [buildx driver](https://docs.docker.com/build/builders/drivers/docker-container/), rather than the default.
|
||||||
|
|
||||||
|
Set it up like so:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker buildx create --driver docker-container --driver-opt image=moby/buildkit:latest --name=ocibuilder --bootstrap
|
||||||
|
```
|
||||||
|
|
||||||
|
Then build and export your image using the OCI format:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker buildx build --builder=ocibuilder --output type=oci,name=foo . > foo.tar
|
||||||
|
```
|
||||||
|
|
||||||
|
You can now import it into LinuxKit with:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
linuxkit cache import foo.tar
|
||||||
|
```
|
||||||
|
|
||||||
|
Note that this process, as described, will only produce images for the platform/architecture you're currently on. To produce multi-platform images requires extra docker build flags and external builder or QEMU support - see [here](https://docs.docker.com/build/building/multi-platform/).
|
||||||
|
|
||||||
|
This workaround is only necessary when working with the local Docker daemon. If you’re pulling from Docker Hub or another registry, you don’t need to do any of this.
|
||||||
|
|||||||
@@ -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.
|
- `gitrepo` _(string)_: The git repository where the package source is kept.
|
||||||
- `network` _(bool)_: Allow network access during the package build (default: no)
|
- `network` _(bool)_: Allow network access during the package build (default: no)
|
||||||
- `disable-cache` _(bool)_: Disable build cache for this package (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)
|
- `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:
|
- `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:
|
- `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,90 @@ ARG all_proxy
|
|||||||
LinuxKit does not judge between lower-cased or upper-cased variants of these options, e.g. `http_proxy` vs `HTTP_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".
|
as `docker build` does not either. It just passes them through "as-is".
|
||||||
|
|
||||||
|
### Environment Variables
|
||||||
|
|
||||||
|
The following environment variables can be used to configure `linuxkit` without
|
||||||
|
modifying command-line invocations — useful for CI/CD runners and shared build
|
||||||
|
scripts. CLI flags always take precedence over env vars, which take precedence
|
||||||
|
over built-in defaults.
|
||||||
|
|
||||||
|
| Variable | Equivalent flag | Scope | Description |
|
||||||
|
|---|---|---|---|
|
||||||
|
| `LINUXKIT_MIRROR` | `--mirror` | All commands | Space- or comma-separated list of mirror specs, each in `[<registry>=]<url>` format (same as `--mirror`). E.g. `LINUXKIT_MIRROR=docker.io=http://mymirror.local` |
|
||||||
|
| `LINUXKIT_PKG_ORG` | `--org` | `pkg` subcommands | Override the registry organisation used when tagging and pushing packages. E.g. `LINUXKIT_PKG_ORG=myorg/lfedge` |
|
||||||
|
| `LINUXKIT_BUILDER_IMAGE` | `--builder-image` | `pkg build` | buildkit container image to use. Useful when the builder image must come from an internal mirror. |
|
||||||
|
| `LINUXKIT_BUILDER_CONFIG` | `--builder-config` | `pkg build` | Path to a buildkit `config.toml` file. The primary way to configure buildkit's own registry mirrors for `FROM` pulls inside Dockerfiles. |
|
||||||
|
| `LINUXKIT_BUILDER_NAME` | `--builder-name` | `pkg build` | Name of the buildkit builder container. |
|
||||||
|
| `LINUXKIT_BUILDERS` | `--builders` | `pkg build` | Platform-to-builder-context mapping; see [Providing native builder nodes](#providing-native-builder-nodes). |
|
||||||
|
| `LINUXKIT_CACHE` | `--cache` | All commands | Path to the linuxkit OCI image cache directory (default `~/.linuxkit/cache`). |
|
||||||
|
|
||||||
|
#### Registry mirrors in CI
|
||||||
|
|
||||||
|
There are two layers of registry access in `linuxkit pkg build`, each requiring
|
||||||
|
its own mirror configuration:
|
||||||
|
|
||||||
|
1. **linuxkit's own pulls** (cache lookups, `show-tag`, `cache pull`, etc.) —
|
||||||
|
configure via `LINUXKIT_MIRROR` or `--mirror`.
|
||||||
|
|
||||||
|
2. **buildkit's pulls** (`FROM` and `COPY --from` inside Dockerfiles) —
|
||||||
|
buildkit has its own registry client. Configure its mirrors via a
|
||||||
|
`config.toml` file passed through `LINUXKIT_BUILDER_CONFIG` or
|
||||||
|
`--builder-config`. See the
|
||||||
|
[buildkit registry configuration docs](https://github.com/moby/buildkit/blob/master/docs/buildkitd.toml.md)
|
||||||
|
for the file format.
|
||||||
|
|
||||||
|
## 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
|
## Releases
|
||||||
|
|
||||||
Normally, whenever a package is updated, CI will build and push the package to Docker Hub by calling `linuxkit pkg push`.
|
Normally, whenever a package is updated, CI will build and push the package to Docker Hub by calling `linuxkit pkg push`.
|
||||||
|
|||||||
@@ -1,25 +1,25 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
binds.add:
|
binds.add:
|
||||||
# this will keep all of the existing ones as well
|
# this will keep all of the existing ones as well
|
||||||
- /var/tmp:/var/tmp
|
- /var/tmp:/var/tmp
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
files:
|
files:
|
||||||
- path: etc/getty.shadow
|
- path: etc/getty.shadow
|
||||||
# sample sets password for root to "abcdefgh" (without quotes)
|
# sample sets password for root to "abcdefgh" (without quotes)
|
||||||
|
|||||||
@@ -1,34 +1,34 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
image: linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
|
||||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
image: linuxkit/openntpd:2508f1d040441457a0b3e75744878afdf61bc473
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:20.10.6-dind
|
image: docker:20.10.6-dind
|
||||||
@@ -46,7 +46,7 @@ services:
|
|||||||
- /etc/docker/daemon.json:/etc/docker/daemon.json
|
- /etc/docker/daemon.json:/etc/docker/daemon.json
|
||||||
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
|
||||||
- name: cadvisor
|
- name: cadvisor
|
||||||
image: linuxkit/cadvisor:8dfefe0f9593ba21aca5d08fadac16de907d470d
|
image: linuxkit/cadvisor:117b93de56bb9d4838ad61d22146572c4261f449
|
||||||
files:
|
files:
|
||||||
- path: var/lib/docker
|
- path: var/lib/docker
|
||||||
directory: true
|
directory: true
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# example with volumes, both blank and populated
|
# example with volumes, both blank and populated
|
||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
onshutdown:
|
onshutdown:
|
||||||
- name: shutdown
|
- name: shutdown
|
||||||
@@ -19,11 +19,11 @@ onshutdown:
|
|||||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.19.5-alpine
|
image: nginx:1.19.5-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|||||||
@@ -1,31 +1,31 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
|
||||||
command: ["/usr/bin/format", "/dev/sda"]
|
command: ["/usr/bin/format", "/dev/sda"]
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
|
||||||
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
|
||||||
- name: loop
|
- name: loop
|
||||||
image: linuxkit/losetup:095ff80d8e8fad1707741ea2584a36f3b80e787d
|
image: linuxkit/losetup:ba1b84df18e666b4b860c4c39fd4aedb228bee96
|
||||||
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
|
||||||
- name: dm-crypt
|
- name: dm-crypt
|
||||||
image: linuxkit/dm-crypt:981fde241bb84616a5ba94c04cdefa1489431a25
|
image: linuxkit/dm-crypt:27e016fa7c12d6cfce0d045a65b112c787f6dc3c
|
||||||
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
|
||||||
command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_dev", "/var/secure_storage"]
|
command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_dev", "/var/secure_storage"]
|
||||||
- name: bbox
|
- name: bbox
|
||||||
image: busybox
|
image: busybox
|
||||||
@@ -34,11 +34,11 @@ onboot:
|
|||||||
- /var:/var
|
- /var:/var
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
files:
|
files:
|
||||||
- path: etc/dm-crypt/key
|
- path: etc/dm-crypt/key
|
||||||
# the below key is just to keep the example self-contained
|
# the below key is just to keep the example self-contained
|
||||||
|
|||||||
@@ -1,25 +1,25 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
|
||||||
command: ["/usr/bin/format", "/dev/sda"]
|
command: ["/usr/bin/format", "/dev/sda"]
|
||||||
- name: dm-crypt
|
- name: dm-crypt
|
||||||
image: linuxkit/dm-crypt:981fde241bb84616a5ba94c04cdefa1489431a25
|
image: linuxkit/dm-crypt:27e016fa7c12d6cfce0d045a65b112c787f6dc3c
|
||||||
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
|
||||||
command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"]
|
command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"]
|
||||||
- name: bbox
|
- name: bbox
|
||||||
image: busybox
|
image: busybox
|
||||||
@@ -28,11 +28,11 @@ onboot:
|
|||||||
- /var:/var
|
- /var:/var
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
files:
|
files:
|
||||||
- path: etc/dm-crypt/key
|
- path: etc/dm-crypt/key
|
||||||
# the below key is just to keep the example self-contained
|
# the below key is just to keep the example self-contained
|
||||||
|
|||||||
@@ -1,32 +1,32 @@
|
|||||||
# This is an example for building the open source components of Docker for Mac
|
# This is an example for building the open source components of Docker for Mac
|
||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0 page_poison=1"
|
cmdline: "console=ttyS0 page_poison=1"
|
||||||
init:
|
init:
|
||||||
- linuxkit/vpnkit-expose-port:b30e8456ac128b2ac360329898368b309ea6e477 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
- linuxkit/vpnkit-expose-port:19c9fd4180d33c9b434fd73b1a3a7ab83cadbf30 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
# support metadata for optional config in /run/config
|
# support metadata for optional config in /run/config
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
image: linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
|
||||||
- name: binfmt
|
- name: binfmt
|
||||||
image: linuxkit/binfmt:ce9509ccfa25002227ccd7ed8dd48d6947854427
|
image: linuxkit/binfmt:4924dc6b9aa7e0bcc6fe8825c24471eac4684108
|
||||||
# Format and mount the disk image in /var/lib/docker
|
# Format and mount the disk image in /var/lib/docker
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
|
||||||
command: ["/usr/bin/mountie", "/var/lib"]
|
command: ["/usr/bin/mountie", "/var/lib"]
|
||||||
# make a swap file on the mounted disk
|
# make a swap file on the mounted disk
|
||||||
- name: swap
|
- name: swap
|
||||||
image: linuxkit/swap:f4b8ffef87c8c72165bd8a92b790ac252ccf1821
|
image: linuxkit/swap:7e19e5e69370e82b90a110093441abbf5e70638b
|
||||||
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
|
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
|
||||||
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
|
||||||
- name: mount-vpnkit
|
- name: mount-vpnkit
|
||||||
@@ -44,41 +44,41 @@ onboot:
|
|||||||
- /var:/host_var
|
- /var:/host_var
|
||||||
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
|
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
# Enable acpi to shutdown on power events
|
# Enable acpi to shutdown on power events
|
||||||
- name: acpid
|
- name: acpid
|
||||||
image: linuxkit/acpid:6cb5575e487a8fcbd4c3eb6721c23299e6ea452f
|
image: linuxkit/acpid:dbd30b25903bf17042c22171b729f94c4bd3d98d
|
||||||
# Enable getty for easier debugging
|
# Enable getty for easier debugging
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
# Run ntpd to keep time synchronised in the VM
|
# Run ntpd to keep time synchronised in the VM
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
image: linuxkit/openntpd:2508f1d040441457a0b3e75744878afdf61bc473
|
||||||
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
|
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
|
||||||
# to a socket on the host.
|
# to a socket on the host.
|
||||||
- name: vsudd
|
- name: vsudd
|
||||||
image: linuxkit/vsudd:127acd1453f7bfda791491ac4c55be0d2b9223cc
|
image: linuxkit/vsudd:b227ed955d14720fcb99f0e1fbd69fbc1dea3106
|
||||||
binds:
|
binds:
|
||||||
- /var/run:/var/run
|
- /var/run:/var/run
|
||||||
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
|
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
|
||||||
# vpnkit-forwarder forwards network traffic to/from the host via VSOCK port 62373.
|
# vpnkit-forwarder forwards network traffic to/from the host via VSOCK port 62373.
|
||||||
# It needs access to the vpnkit 9P coordination share
|
# It needs access to the vpnkit 9P coordination share
|
||||||
- name: vpnkit-forwarder
|
- name: vpnkit-forwarder
|
||||||
image: linuxkit/vpnkit-forwarder:e22bb70abdb5550c369f91ae7068c24e19beff73
|
image: linuxkit/vpnkit-forwarder:d0bc6500a9dc97b4556bb4bda20160a294cc61a3
|
||||||
binds:
|
binds:
|
||||||
- /var/vpnkit:/port
|
- /var/vpnkit:/port
|
||||||
net: host
|
net: host
|
||||||
command: ["/vpnkit-forwarder", "-vsockPort", "62373"]
|
command: ["/vpnkit-forwarder", "-vsockPort", "62373"]
|
||||||
# Monitor for image deletes and invoke a TRIM on the container filesystem
|
# Monitor for image deletes and invoke a TRIM on the container filesystem
|
||||||
- name: trim-after-delete
|
- name: trim-after-delete
|
||||||
image: linuxkit/trim-after-delete:fe73247abd4ab7584a75e95083543af97fe90d4d
|
image: linuxkit/trim-after-delete:012784ce3bdd59d42799dbf6555fe6da972cc721
|
||||||
# When the host resumes from sleep, force a clock resync
|
# When the host resumes from sleep, force a clock resync
|
||||||
- name: host-timesync-daemon
|
- name: host-timesync-daemon
|
||||||
image: linuxkit/host-timesync-daemon:548bfe9d35c930ee42d6c0485bb4bf25d2729bad
|
image: linuxkit/host-timesync-daemon:288c5bf6d7cd40b76d7a2276435c3c011cb26e37
|
||||||
# Run dockerd with the vpnkit userland proxy from the vpnkit-forwarder container.
|
# Run dockerd with the vpnkit userland proxy from the vpnkit-forwarder container.
|
||||||
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
|
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
|
||||||
# for vpnkit coordination and /run/config/docker for the configuration file.
|
# for vpnkit coordination and /run/config/docker for the configuration file.
|
||||||
|
|||||||
@@ -1,32 +1,32 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: sysfs
|
- name: sysfs
|
||||||
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
|
image: linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
|
||||||
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
command: ["/usr/bin/mountie", "/var/lib/docker"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
- name: ntpd
|
- name: ntpd
|
||||||
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
|
image: linuxkit/openntpd:2508f1d040441457a0b3e75744878afdf61bc473
|
||||||
- name: docker
|
- name: docker
|
||||||
image: docker:20.10.6-dind
|
image: docker:20.10.6-dind
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|||||||
@@ -1,25 +1,25 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
# to make insecure with passwordless root login, uncomment following lines
|
# to make insecure with passwordless root login, uncomment following lines
|
||||||
#env:
|
#env:
|
||||||
# - INSECURE=true
|
# - INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
files:
|
files:
|
||||||
- path: etc/getty.shadow
|
- path: etc/getty.shadow
|
||||||
# sample sets password for root to "abcdefgh" (without quotes)
|
# sample sets password for root to "abcdefgh" (without quotes)
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
onshutdown:
|
onshutdown:
|
||||||
- name: shutdown
|
- name: shutdown
|
||||||
@@ -18,7 +18,7 @@ onshutdown:
|
|||||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
runtime:
|
runtime:
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
destination: writeable-host-etc
|
destination: writeable-host-etc
|
||||||
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
|
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: influxdb
|
- name: influxdb
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
# Simple example of using an external logging service
|
# Simple example of using an external logging service
|
||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
- linuxkit/memlogd:e28ecaa23a3693ae96575fb3bc421bc1d9f46c4f
|
- linuxkit/memlogd:19b0fdec83dded95e0a2f97a8ca6868f5e83c401
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
# Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log
|
# Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
# A service which generates log messages for testing
|
# A service which generates log messages for testing
|
||||||
@@ -25,6 +25,6 @@ services:
|
|||||||
image: alpine:3.13
|
image: alpine:3.13
|
||||||
command: ["/bin/sh", "-c", "while /bin/true; do echo hello $(date); sleep 1; done" ]
|
command: ["/bin/sh", "-c", "while /bin/true; do echo hello $(date); sleep 1; done" ]
|
||||||
- name: write-and-rotate-logs
|
- name: write-and-rotate-logs
|
||||||
image: linuxkit/logwrite:3f138a010098862845b7270fc3715a03d0e3871e
|
image: linuxkit/logwrite:24e6a76c2d45a7679d4f53db9ea377373b543dc7
|
||||||
- name: kmsg
|
- name: kmsg
|
||||||
image: linuxkit/kmsg:9b0a33abebde8de005a3bfaf8dc06f183a9ba7b8
|
image: linuxkit/kmsg:c4d8d509cf496faa21c184ae7fdff6fddc6e186d
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
- name: node_exporter
|
- name: node_exporter
|
||||||
image: linuxkit/node_exporter:1415b52c08ddc5799b2fc83cf3f080c56c3ff5a9
|
image: linuxkit/node_exporter:f334791f344bdf477317840e14cee57904fee95a
|
||||||
|
|||||||
@@ -1,25 +1,25 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
command: ["/usr/bin/metadata", "openstack"]
|
command: ["/usr/bin/metadata", "openstack"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
|||||||
@@ -1,27 +1,27 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: dhcpcd2
|
- name: dhcpcd2
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
|||||||
@@ -1,21 +1,21 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /root/.ssh:/root/.ssh
|
- /root/.ssh:/root/.ssh
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -5,10 +5,10 @@
|
|||||||
# for arm64 then the 'ucode' line in the kernel section can be left
|
# for arm64 then the 'ucode' line in the kernel section can be left
|
||||||
# out.
|
# out.
|
||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyAMA0"
|
cmdline: "console=ttyAMA0"
|
||||||
ucode: ""
|
ucode: ""
|
||||||
onboot:
|
onboot:
|
||||||
- name: modprobe
|
- name: modprobe
|
||||||
image: linuxkit/modprobe:773ee174006ecbb412830e48889795bae40b62f9
|
image: linuxkit/modprobe:4248cdc3494779010e7e7488fc17b6fd45b73aeb
|
||||||
command: ["modprobe", "nicvf"]
|
command: ["modprobe", "nicvf"]
|
||||||
|
|||||||
@@ -1,34 +1,34 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: console=ttyS1
|
cmdline: console=ttyS1
|
||||||
ucode: intel-ucode.cpio
|
ucode: intel-ucode.cpio
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
- linuxkit/firmware:bfc7802f909c4b760de5dd2bc02a7f52e86b78f7
|
- linuxkit/firmware:68c2b29f28f2639020b9f8d55254d333498a30aa
|
||||||
onboot:
|
onboot:
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
command: ["/usr/bin/metadata", "equinixmetal"]
|
command: ["/usr/bin/metadata", "equinixmetal"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /root/.ssh:/root/.ssh
|
- /root/.ssh:/root/.ssh
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -1,28 +1,28 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
|||||||
@@ -1,34 +1,34 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: console=ttyS1
|
cmdline: console=ttyS1
|
||||||
ucode: intel-ucode.cpio
|
ucode: intel-ucode.cpio
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
- linuxkit/firmware:bfc7802f909c4b760de5dd2bc02a7f52e86b78f7
|
- linuxkit/firmware:68c2b29f28f2639020b9f8d55254d333498a30aa
|
||||||
onboot:
|
onboot:
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
command: ["/usr/bin/metadata", "hetzner"]
|
command: ["/usr/bin/metadata", "hetzner"]
|
||||||
services:
|
services:
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /root/.ssh:/root/.ssh
|
- /root/.ssh:/root/.ssh
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -2,24 +2,24 @@ kernel:
|
|||||||
image: linuxkit/kernel:6.6.71-rt
|
image: linuxkit/kernel:6.6.71-rt
|
||||||
cmdline: "console=tty0"
|
cmdline: "console=tty0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
- name: open-vm-tools
|
- name: open-vm-tools
|
||||||
image: linuxkit/open-vm-tools:8a320f7453711f0544f4b03558aaf0b80c7c23f1
|
image: linuxkit/open-vm-tools:ce668b7064e26dbb4767a9106aae8cb888a3a61c
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|||||||
@@ -1,26 +1,26 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0 root=/dev/vda"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0 root=/dev/vda"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0"
|
cmdline: "console=tty0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|||||||
@@ -1,29 +1,29 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata
|
- name: metadata
|
||||||
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
|
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
|
||||||
command: ["/usr/bin/metadata", "vultr"]
|
command: ["/usr/bin/metadata", "vultr"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
# Minimal YAML to run a redis server (used at DockerCon'17)
|
# Minimal YAML to run a redis server (used at DockerCon'17)
|
||||||
# connect: nc localhost 6379
|
# connect: nc localhost 6379
|
||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
# Currently redis:4.0.6-alpine has trust issue with multi-arch
|
# Currently redis:4.0.6-alpine has trust issue with multi-arch
|
||||||
|
|||||||
@@ -1,28 +1,28 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: rngd1
|
- name: rngd1
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
command: ["/sbin/rngd", "-1"]
|
command: ["/sbin/rngd", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /root/.ssh:/root/.ssh
|
- /root/.ssh:/root/.ssh
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
onboot:
|
onboot:
|
||||||
- name: ip
|
- name: ip
|
||||||
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
|
image: linuxkit/ip:3c0676ee83a0dc739685be1253b8326f08581ef7
|
||||||
binds:
|
binds:
|
||||||
- /etc/ip:/etc/ip
|
- /etc/ip:/etc/ip
|
||||||
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
command: ["ip", "-b", "/etc/ip/eth0.conf"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -1,31 +1,31 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: format
|
- name: format
|
||||||
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
|
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
|
||||||
- name: mount
|
- name: mount
|
||||||
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
|
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
|
||||||
command: ["/usr/bin/mountie", "/var/external"]
|
command: ["/usr/bin/mountie", "/var/external"]
|
||||||
- name: swap
|
- name: swap
|
||||||
image: linuxkit/swap:f4b8ffef87c8c72165bd8a92b790ac252ccf1821
|
image: linuxkit/swap:7e19e5e69370e82b90a110093441abbf5e70638b
|
||||||
# to use unencrypted swap, use:
|
# to use unencrypted swap, use:
|
||||||
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
|
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
|
||||||
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
|
|||||||
@@ -1,26 +1,26 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0"
|
cmdline: "console=tty0 console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: tss
|
- name: tss
|
||||||
image: linuxkit/tss:dbdcce4c3a840f8337d20991807439b2096a1457
|
image: linuxkit/tss:15e6d8a72e46089109985ee9a72dc457bf5c42b1
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
files:
|
files:
|
||||||
- path: etc/getty.shadow
|
- path: etc/getty.shadow
|
||||||
# sample sets password for root to "abcdefgh" (without quotes)
|
# sample sets password for root to "abcdefgh" (without quotes)
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# example with volumes, both blank and populated
|
# example with volumes, both blank and populated
|
||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
onshutdown:
|
onshutdown:
|
||||||
- name: shutdown
|
- name: shutdown
|
||||||
@@ -19,11 +19,11 @@ onshutdown:
|
|||||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.19.5-alpine
|
image: nginx:1.19.5-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: mount-vpnkit
|
- name: mount-vpnkit
|
||||||
image: alpine:3.13
|
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"]
|
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
|
||||||
services:
|
services:
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
|
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
|
||||||
binds.add:
|
binds.add:
|
||||||
- /root/.ssh:/root/.ssh
|
- /root/.ssh:/root/.ssh
|
||||||
- name: vpnkit-forwarder
|
- name: vpnkit-forwarder
|
||||||
image: linuxkit/vpnkit-forwarder:e22bb70abdb5550c369f91ae7068c24e19beff73
|
image: linuxkit/vpnkit-forwarder:d0bc6500a9dc97b4556bb4bda20160a294cc61a3
|
||||||
binds:
|
binds:
|
||||||
- /var/vpnkit:/port
|
- /var/vpnkit:/port
|
||||||
net: host
|
net: host
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=ttyS0"
|
cmdline: "console=ttyS0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
onboot:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
services:
|
services:
|
||||||
- name: vsudd
|
- name: vsudd
|
||||||
image: linuxkit/vsudd:127acd1453f7bfda791491ac4c55be0d2b9223cc
|
image: linuxkit/vsudd:b227ed955d14720fcb99f0e1fbd69fbc1dea3106
|
||||||
binds:
|
binds:
|
||||||
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
|
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
|
||||||
command: ["/vsudd",
|
command: ["/vsudd",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: wg0
|
- name: wg0
|
||||||
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
|
image: linuxkit/ip:3c0676ee83a0dc739685be1253b8326f08581ef7
|
||||||
net: new
|
net: new
|
||||||
binds:
|
binds:
|
||||||
- /etc/wireguard:/etc/wireguard
|
- /etc/wireguard:/etc/wireguard
|
||||||
@@ -26,7 +26,7 @@ onboot:
|
|||||||
bindNS:
|
bindNS:
|
||||||
net: /run/netns/wg0
|
net: /run/netns/wg0
|
||||||
- name: wg1
|
- name: wg1
|
||||||
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
|
image: linuxkit/ip:3c0676ee83a0dc739685be1253b8326f08581ef7
|
||||||
net: new
|
net: new
|
||||||
binds:
|
binds:
|
||||||
- /etc/wireguard:/etc/wireguard
|
- /etc/wireguard:/etc/wireguard
|
||||||
@@ -40,12 +40,12 @@ onboot:
|
|||||||
net: /run/netns/wg1
|
net: /run/netns/wg1
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
net: /run/netns/wg1
|
net: /run/netns/wg1
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.13.8-alpine
|
image: nginx:1.13.8-alpine
|
||||||
net: /run/netns/wg0
|
net: /run/netns/wg0
|
||||||
|
|||||||
3
kernel/6.12.x/build-args
Normal file
3
kernel/6.12.x/build-args
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
KERNEL_VERSION=6.12.59
|
||||||
|
KERNEL_SERIES=6.12.x
|
||||||
|
BUILD_IMAGE=linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a
|
||||||
5788
kernel/6.12.x/config-aarch64
Normal file
5788
kernel/6.12.x/config-aarch64
Normal file
File diff suppressed because it is too large
Load Diff
5195
kernel/6.12.x/config-riscv64
Normal file
5195
kernel/6.12.x/config-riscv64
Normal file
File diff suppressed because it is too large
Load Diff
5381
kernel/6.12.x/config-x86_64
Normal file
5381
kernel/6.12.x/config-x86_64
Normal file
File diff suppressed because it is too large
Load Diff
@@ -25,14 +25,19 @@ EXTRA?=
|
|||||||
|
|
||||||
DEBUG?=
|
DEBUG?=
|
||||||
|
|
||||||
ifeq ($(HASH),)
|
HASH_COMMIT?=HEAD
|
||||||
HASH_COMMIT?=HEAD # Setting this is only really useful with the show-tag target
|
|
||||||
HASH:=$(shell git ls-tree --full-tree $(HASH_COMMIT) -- $(CURDIR) | awk '{print $$3}')
|
|
||||||
|
|
||||||
ifneq ($(HASH_COMMIT),HEAD) # Others can't be dirty by definition
|
|
||||||
DIRTY:=$(shell git update-index -q --refresh && git diff-index --quiet HEAD -- $(CURDIR) || echo "-dirty")
|
DIRTY:=$(shell git update-index -q --refresh && git diff-index --quiet HEAD -- $(CURDIR) || echo "-dirty")
|
||||||
endif
|
|
||||||
endif
|
# Shared files that affect all kernel builds (Dockerfiles, build yamls, scripts, etc.)
|
||||||
|
# These are combined with series-specific folders to compute per-series hashes
|
||||||
|
COMMON_DIR=common
|
||||||
|
|
||||||
|
# Compute hash for shared files from above and include Makefile from current dir
|
||||||
|
SHARED_HASH:=$(shell git ls-tree -r --full-tree $(HASH_COMMIT) -- $(CURDIR)/Makefile $(CURDIR)/$(COMMON_DIR) 2>/dev/null | git hash-object --stdin)
|
||||||
|
|
||||||
|
# Function to compute per-series hash: combines shared files hash with series folder hash
|
||||||
|
# Usage: $(call series_hash,6.12.x)
|
||||||
|
series_hash=$(shell (echo $(SHARED_HASH); git ls-tree --full-tree $(HASH_COMMIT) -- $(CURDIR)/$(1) 2>/dev/null) | git hash-object --stdin)$(DIRTY)
|
||||||
|
|
||||||
REPO_ROOT:=$(shell git rev-parse --show-toplevel)
|
REPO_ROOT:=$(shell git rev-parse --show-toplevel)
|
||||||
|
|
||||||
@@ -55,8 +60,6 @@ endif
|
|||||||
|
|
||||||
BUILD_PLATFORM=linux/$(BUILDERARCH)
|
BUILD_PLATFORM=linux/$(BUILDERARCH)
|
||||||
|
|
||||||
HASHTAG=$(HASH)$(DIRTY)
|
|
||||||
|
|
||||||
.PHONY: notdirty
|
.PHONY: notdirty
|
||||||
notdirty:
|
notdirty:
|
||||||
@if [ x"$(DIRTY)" != x ]; then echo "Your repository is not clean. Will not push image"; exit 1; fi
|
@if [ x"$(DIRTY)" != x ]; then echo "Your repository is not clean. Will not push image"; exit 1; fi
|
||||||
@@ -111,6 +114,7 @@ list:
|
|||||||
@echo "Kernels: $(KERNELS)"
|
@echo "Kernels: $(KERNELS)"
|
||||||
@echo "Deprecated: $(DEPRECATED)"
|
@echo "Deprecated: $(DEPRECATED)"
|
||||||
@echo "Tools: $(TOOLS)"
|
@echo "Tools: $(TOOLS)"
|
||||||
|
@echo "Shared hash: $(SHARED_HASH)"
|
||||||
|
|
||||||
setforce:
|
setforce:
|
||||||
$(eval FORCE=--force)
|
$(eval FORCE=--force)
|
||||||
@@ -122,15 +126,17 @@ build-%: buildkernel-% buildtools-%;
|
|||||||
|
|
||||||
buildkernel-%: buildkerneldeps-% buildplainkernel-% builddebugkernel-%;
|
buildkernel-%: buildkerneldeps-% buildplainkernel-% builddebugkernel-%;
|
||||||
|
|
||||||
buildkerneldeps-%: Dockerfile Makefile $(wildcard patches-$(call series,$*)/*) $(wildcard config-$(call series,$*)*) ;
|
buildkerneldeps-%: $(COMMON_DIR)/Dockerfile Makefile $(wildcard patches-$(call series,$*)/*) $(wildcard config-$(call series,$*)*) ;
|
||||||
|
|
||||||
buildplainkernel-%: buildkerneldeps-%
|
buildplainkernel-%: buildkerneldeps-%
|
||||||
$(eval KERNEL_SERIES=$(call series,$*))
|
$(eval KERNEL_SERIES=$(call series,$*))
|
||||||
linuxkit pkg build . $(FORCE) --platforms $(BUILD_PLATFORM) --build-yml ./build-kernel.yml --tag "$*-{{.Hash}}" --build-arg-file $(KERNEL_SERIES)/build-args
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
linuxkit pkg build . $(FORCE) --platforms $(BUILD_PLATFORM) --build-yml ./$(COMMON_DIR)/build-kernel.yml --hash $(SERIES_HASH) --tag "$*-{{.Hash}}" --build-arg-file $(KERNEL_SERIES)/build-args
|
||||||
|
|
||||||
builddebugkernel-%: buildkerneldeps-%
|
builddebugkernel-%: buildkerneldeps-%
|
||||||
$(eval KERNEL_SERIES=$(call series,$*))
|
$(eval KERNEL_SERIES=$(call series,$*))
|
||||||
linuxkit pkg build . $(FORCE) --platforms $(BUILD_PLATFORM) --build-yml ./build-kernel.yml --tag "$*-dbg-{{.Hash}}" --build-arg-file $(KERNEL_SERIES)/build-args --build-arg-file build-args-debug
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
linuxkit pkg build . $(FORCE) --platforms $(BUILD_PLATFORM) --build-yml ./$(COMMON_DIR)/build-kernel.yml --hash $(SERIES_HASH) --tag "$*-dbg-{{.Hash}}" --build-arg-file $(KERNEL_SERIES)/build-args --build-arg-file $(COMMON_DIR)/build-args-debug
|
||||||
|
|
||||||
push-%: notdirty build-% pushkernel-% tagbuilder-% pushtools-%;
|
push-%: notdirty build-% pushkernel-% tagbuilder-% pushtools-%;
|
||||||
|
|
||||||
@@ -145,19 +151,25 @@ tagbuilder-%: notdirty
|
|||||||
pushkernel-%: pushplainkernel-% pushdebugkernel-%;
|
pushkernel-%: pushplainkernel-% pushdebugkernel-%;
|
||||||
|
|
||||||
pushplainkernel-%: buildplainkernel-%
|
pushplainkernel-%: buildplainkernel-%
|
||||||
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-{{.Hash}}"))
|
$(eval KERNEL_SERIES=$(call series,$*))
|
||||||
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*"))
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-kernel.yml --hash $(SERIES_HASH) --tag "$*-{{.Hash}}"))
|
||||||
|
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-kernel.yml --tag "$*"))
|
||||||
linuxkit cache push $(HASHED_IMAGE)
|
linuxkit cache push $(HASHED_IMAGE)
|
||||||
linuxkit cache push $(HASHED_IMAGE) --remote-name $(PLAIN_IMAGE)
|
linuxkit cache push $(HASHED_IMAGE) --remote-name $(PLAIN_IMAGE)
|
||||||
|
|
||||||
pushdebugkernel-%: builddebugkernel-%
|
pushdebugkernel-%: builddebugkernel-%
|
||||||
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-dbg-{{.Hash}}"))
|
$(eval KERNEL_SERIES=$(call series,$*))
|
||||||
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-dbg"))
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-kernel.yml --hash $(SERIES_HASH) --tag "$*-dbg-{{.Hash}}"))
|
||||||
|
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-kernel.yml --tag "$*-dbg"))
|
||||||
linuxkit cache push $(HASHED_IMAGE)
|
linuxkit cache push $(HASHED_IMAGE)
|
||||||
linuxkit cache push $(HASHED_IMAGE) --remote-name $(PLAIN_IMAGE)
|
linuxkit cache push $(HASHED_IMAGE) --remote-name $(PLAIN_IMAGE)
|
||||||
|
|
||||||
show-tag-%:
|
show-tag-%:
|
||||||
@echo $(eval BASEIMAGE=$(call baseimage,$*))-$(HASHTAG)
|
$(eval KERNEL_SERIES=$(call series,$*))
|
||||||
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
@echo $(call baseimage,$*)-$(SERIES_HASH)
|
||||||
|
|
||||||
buildtools-%: $(addprefix buildtool-%$(RELEASESEP),$(TOOLS));
|
buildtools-%: $(addprefix buildtool-%$(RELEASESEP),$(TOOLS));
|
||||||
|
|
||||||
@@ -165,7 +177,8 @@ buildtool-%:
|
|||||||
$(eval TOOL=$(call toolname,$*))
|
$(eval TOOL=$(call toolname,$*))
|
||||||
$(eval KERNEL_VERSION=$(call toolkernel,$*))
|
$(eval KERNEL_VERSION=$(call toolkernel,$*))
|
||||||
$(eval KERNEL_SERIES=$(call series,$(KERNEL_VERSION)))
|
$(eval KERNEL_SERIES=$(call series,$(KERNEL_VERSION)))
|
||||||
linuxkit pkg build . $(FORCE) --platforms $(BUILD_PLATFORM) --build-yml ./build-$(TOOL).yml --tag "$(KERNEL_VERSION)-{{.Hash}}" --build-arg-file $(KERNEL_SERIES)/build-args
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
linuxkit pkg build . $(FORCE) --platforms $(BUILD_PLATFORM) --build-yml ./$(COMMON_DIR)/build-$(TOOL).yml --tag "$(KERNEL_VERSION)-$(SERIES_HASH)" --build-arg-file $(KERNEL_SERIES)/build-args
|
||||||
|
|
||||||
pushtools-%: $(addprefix pushtool-%$(RELEASESEP),$(TOOLS));
|
pushtools-%: $(addprefix pushtool-%$(RELEASESEP),$(TOOLS));
|
||||||
|
|
||||||
@@ -173,8 +186,9 @@ pushtool-%: buildtool-%
|
|||||||
$(eval TOOL=$(call toolname,$*))
|
$(eval TOOL=$(call toolname,$*))
|
||||||
$(eval KERNEL_VERSION=$(call toolkernel,$*))
|
$(eval KERNEL_VERSION=$(call toolkernel,$*))
|
||||||
$(eval KERNEL_SERIES=$(call series,$(KERNEL_VERSION)))
|
$(eval KERNEL_SERIES=$(call series,$(KERNEL_VERSION)))
|
||||||
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-$(TOOL).yml --tag "$(KERNEL_VERSION)-{{.Hash}}"))
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-$(TOOL).yml --tag "$(KERNEL_VERSION)"))
|
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-$(TOOL).yml --tag "$(KERNEL_VERSION)-$(SERIES_HASH)"))
|
||||||
|
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-$(TOOL).yml --tag "$(KERNEL_VERSION)"))
|
||||||
linuxkit cache push $(HASHED_IMAGE)
|
linuxkit cache push $(HASHED_IMAGE)
|
||||||
linuxkit cache push $(HASHED_IMAGE) --remote-name $(PLAIN_IMAGE)
|
linuxkit cache push $(HASHED_IMAGE) --remote-name $(PLAIN_IMAGE)
|
||||||
|
|
||||||
@@ -184,11 +198,15 @@ pushtool-%: buildtool-%
|
|||||||
|
|
||||||
# get the tag for the normal kernel for a particular version. Accepts version or series
|
# get the tag for the normal kernel for a particular version. Accepts version or series
|
||||||
tag-plainkernel-%:
|
tag-plainkernel-%:
|
||||||
@linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-{{.Hash}}"
|
$(eval KERNEL_SERIES=$(call series,$*))
|
||||||
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
@linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-kernel.yml --hash $(SERIES_HASH) --tag "$*-{{.Hash}}"
|
||||||
|
|
||||||
# get the tag for the debug kernel for a particular version. Accepts version or series
|
# get the tag for the debug kernel for a particular version. Accepts version or series
|
||||||
tag-debugkernel-%:
|
tag-debugkernel-%:
|
||||||
@linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-dbg-{{.Hash}}"
|
$(eval KERNEL_SERIES=$(call series,$*))
|
||||||
|
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
|
||||||
|
@linuxkit pkg show-tag . --build-yml ./$(COMMON_DIR)/build-kernel.yml --hash $(SERIES_HASH) --tag "$*-dbg-{{.Hash}}"
|
||||||
|
|
||||||
# find and replace any usage of the normal kernel with hash for a particular series
|
# find and replace any usage of the normal kernel with hash for a particular series
|
||||||
# will update hash for same semver and/or patch version
|
# will update hash for same semver and/or patch version
|
||||||
@@ -214,7 +232,7 @@ KCONFIG_TAG_EXTENSION=-${KCONFIG_TAG}
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
kconfig:
|
kconfig:
|
||||||
docker build --no-cache -f Dockerfile.kconfig \
|
docker build --no-cache -f $(COMMON_DIR)/Dockerfile.kconfig \
|
||||||
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
||||||
--build-arg BUILD_IMAGE=$(IMAGE_BUILDER) \
|
--build-arg BUILD_IMAGE=$(IMAGE_BUILDER) \
|
||||||
--platform $(BUILD_PLATFORM) \
|
--platform $(BUILD_PLATFORM) \
|
||||||
@@ -222,7 +240,7 @@ kconfig:
|
|||||||
|
|
||||||
kconfigx:
|
kconfigx:
|
||||||
ifeq (${KCONFIG_TAG},)
|
ifeq (${KCONFIG_TAG},)
|
||||||
docker buildx build --no-cache -f Dockerfile.kconfigx \
|
docker buildx build --no-cache -f $(COMMON_DIR)/Dockerfile.kconfigx \
|
||||||
--platform $(BUILD_PLATFORM) \
|
--platform $(BUILD_PLATFORM) \
|
||||||
--output . \
|
--output . \
|
||||||
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
||||||
@@ -232,7 +250,7 @@ ifeq (${KCONFIG_TAG},)
|
|||||||
cp linux_amd64/config-${KERNEL_VERSIONS}-amd64 config-${KERNEL_SERIES}-x86_64
|
cp linux_amd64/config-${KERNEL_VERSIONS}-amd64 config-${KERNEL_SERIES}-x86_64
|
||||||
cp linux_amd64/config-${KERNEL_VERSIONS}-riscv64 config-${KERNEL_SERIES}-riscv64
|
cp linux_amd64/config-${KERNEL_VERSIONS}-riscv64 config-${KERNEL_SERIES}-riscv64
|
||||||
else
|
else
|
||||||
docker buildx build --no-cache -f Dockerfile.kconfigx \
|
docker buildx build --no-cache -f $(COMMON_DIR)/Dockerfile.kconfigx \
|
||||||
--platform $(BUILD_PLATFORM) --push \
|
--platform $(BUILD_PLATFORM) --push \
|
||||||
--output . \
|
--output . \
|
||||||
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
image: kernel-bcc
|
|
||||||
network: true
|
|
||||||
dockerfile: Dockerfile.bcc
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
image: kernel
|
|
||||||
network: true
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
image: kernel-perf
|
|
||||||
network: true
|
|
||||||
dockerfile: Dockerfile.perf
|
|
||||||
@@ -55,7 +55,7 @@ RUN KERNEL_MAJOR=$(echo ${KERNEL_VERSION} | cut -d . -f 1) && \
|
|||||||
KERNEL_SHA256_SUMS=https://www.kernel.org/pub/linux/kernel/${KERNEL_MAJOR}/sha256sums.asc && \
|
KERNEL_SHA256_SUMS=https://www.kernel.org/pub/linux/kernel/${KERNEL_MAJOR}/sha256sums.asc && \
|
||||||
KERNEL_PGP2_SIGN=https://www.kernel.org/pub/linux/kernel/${KERNEL_MAJOR}/linux-${KERNEL_VERSION}.tar.sign && \
|
KERNEL_PGP2_SIGN=https://www.kernel.org/pub/linux/kernel/${KERNEL_MAJOR}/linux-${KERNEL_VERSION}.tar.sign && \
|
||||||
curl -fsSLO ${KERNEL_SHA256_SUMS} && \
|
curl -fsSLO ${KERNEL_SHA256_SUMS} && \
|
||||||
gpg2 -q --import /src/keys.asc && \
|
gpg2 -q --import /src/common/keys.asc && \
|
||||||
gpg2 --verify sha256sums.asc && \
|
gpg2 --verify sha256sums.asc && \
|
||||||
KERNEL_SHA256=$(grep linux-${KERNEL_VERSION}.tar.xz sha256sums.asc | cut -d ' ' -f 1) && \
|
KERNEL_SHA256=$(grep linux-${KERNEL_VERSION}.tar.xz sha256sums.asc | cut -d ' ' -f 1) && \
|
||||||
[ -f linux-${KERNEL_VERSION}.tar.xz ] || curl -fsSLO ${KERNEL_SOURCE} && \
|
[ -f linux-${KERNEL_VERSION}.tar.xz ] || curl -fsSLO ${KERNEL_SOURCE} && \
|
||||||
@@ -126,7 +126,7 @@ RUN case $(uname -m) in \
|
|||||||
sed -i "s/CONFIG_LOCALVERSION=\"-linuxkit\"/CONFIG_LOCALVERSION=\"-linuxkit${EXTRA}${DEBUG}\"/" ${KERNEL_DEF_CONF}; \
|
sed -i "s/CONFIG_LOCALVERSION=\"-linuxkit\"/CONFIG_LOCALVERSION=\"-linuxkit${EXTRA}${DEBUG}\"/" ${KERNEL_DEF_CONF}; \
|
||||||
if [ -n "${DEBUG}" ]; then \
|
if [ -n "${DEBUG}" ]; then \
|
||||||
sed -i 's/CONFIG_PANIC_ON_OOPS=y/# CONFIG_PANIC_ON_OOPS is not set/' ${KERNEL_DEF_CONF}; \
|
sed -i 's/CONFIG_PANIC_ON_OOPS=y/# CONFIG_PANIC_ON_OOPS is not set/' ${KERNEL_DEF_CONF}; \
|
||||||
cat /src/config${DEBUG} >> ${KERNEL_DEF_CONF}; \
|
cat /src/common/config${DEBUG} >> ${KERNEL_DEF_CONF}; \
|
||||||
fi && \
|
fi && \
|
||||||
make defconfig && \
|
make defconfig && \
|
||||||
make oldconfig && \
|
make oldconfig && \
|
||||||
@@ -140,10 +140,22 @@ RUN make -j "$(getconf _NPROCESSORS_ONLN)" KCFLAGS="-fno-pie" && \
|
|||||||
cp arch/x86_64/boot/bzImage /out/kernel; \
|
cp arch/x86_64/boot/bzImage /out/kernel; \
|
||||||
;; \
|
;; \
|
||||||
aarch64) \
|
aarch64) \
|
||||||
cp arch/arm64/boot/Image.gz /out/kernel; \
|
if [ -f arch/arm64/boot/Image.gz ]; then \
|
||||||
|
cp arch/arm64/boot/Image.gz /out/kernel; \
|
||||||
|
elif [ -f arch/arm64/boot/vmlinuz.efi ]; then \
|
||||||
|
cp arch/arm64/boot/vmlinuz.efi /out/kernel; \
|
||||||
|
else \
|
||||||
|
echo "Error: Neither Image.gz nor vmlinuz.efi found for aarch64" >&2; exit 1; \
|
||||||
|
fi \
|
||||||
;; \
|
;; \
|
||||||
riscv64) \
|
riscv64) \
|
||||||
cp arch/riscv/boot/Image.gz /out/kernel; \
|
if [ -f arch/riscv/boot/Image.gz ]; then \
|
||||||
|
cp arch/riscv/boot/Image.gz /out/kernel; \
|
||||||
|
elif [ -f arch/riscv/boot/vmlinuz.efi ]; then \
|
||||||
|
cp arch/riscv/boot/vmlinuz.efi /out/kernel; \
|
||||||
|
else \
|
||||||
|
echo "Error: Neither Image.gz nor vmlinuz.efi found for riscv64" >&2; exit 1; \
|
||||||
|
fi \
|
||||||
;; \
|
;; \
|
||||||
esac && \
|
esac && \
|
||||||
cp System.map /out && \
|
cp System.map /out && \
|
||||||
3
kernel/common/build-bcc.yml
Normal file
3
kernel/common/build-bcc.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
image: kernel-bcc
|
||||||
|
network: true
|
||||||
|
dockerfile: common/Dockerfile.bcc
|
||||||
3
kernel/common/build-kernel.yml
Normal file
3
kernel/common/build-kernel.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
image: kernel
|
||||||
|
network: true
|
||||||
|
dockerfile: common/Dockerfile
|
||||||
3
kernel/common/build-perf.yml
Normal file
3
kernel/common/build-perf.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
image: kernel-perf
|
||||||
|
network: true
|
||||||
|
dockerfile: common/Dockerfile.perf
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- "@pkg:./pkg/init"
|
- "@pkg:./pkg/init"
|
||||||
|
|||||||
18
linuxkit.yml
18
linuxkit.yml
@@ -1,16 +1,16 @@
|
|||||||
kernel:
|
kernel:
|
||||||
image: linuxkit/kernel:6.6.71
|
image: linuxkit/kernel:6.12.59
|
||||||
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
init:
|
init:
|
||||||
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
|
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
|
||||||
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
|
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
|
||||||
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
|
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
|
||||||
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
|
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
|
||||||
onboot:
|
onboot:
|
||||||
- name: sysctl
|
- name: sysctl
|
||||||
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
|
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
|
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
onshutdown:
|
onshutdown:
|
||||||
- name: shutdown
|
- name: shutdown
|
||||||
@@ -18,11 +18,11 @@ onshutdown:
|
|||||||
command: ["/bin/echo", "so long and thanks for all the fish"]
|
command: ["/bin/echo", "so long and thanks for all the fish"]
|
||||||
services:
|
services:
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
|
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
|
||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
|
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx:1.19.5-alpine
|
image: nginx:1.19.5-alpine
|
||||||
capabilities:
|
capabilities:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -6,7 +6,7 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
busybox
|
busybox
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror2
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror2
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
acpid
|
acpid
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --initdb -p /out alpine-baselayout apk-tools audit busybox tini
|
RUN apk add --initdb -p /out alpine-baselayout apk-tools audit busybox tini
|
||||||
|
|||||||
@@ -1,15 +1,8 @@
|
|||||||
# Use Debian testing Qemu 4.2.0 until https://bugs.alpinelinux.org/issues/8131 is resolved.
|
# Use Debian testing-slim Qemu 4.2.0 until https://bugs.alpinelinux.org/issues/8131 is resolved.
|
||||||
FROM debian@sha256:d828cca5497a2519da9c6d42372066895fa28a69f1e8a46a38ce8f750bd2adf0 AS qemu
|
FROM debian@sha256:80381085775a6e69f0f8d09dd9a39495063e348382eb8d4881ba6f142d24b8ab AS qemu
|
||||||
RUN apt-get update && apt-get install -y qemu-user-static && \
|
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 && \
|
|
||||||
mv /usr/bin/qemu-ppc64le-static /usr/bin/qemu-ppc64le && \
|
|
||||||
mv /usr/bin/qemu-s390x-static /usr/bin/qemu-s390x && \
|
|
||||||
mv /usr/bin/qemu-riscv64-static /usr/bin/qemu-riscv64 && \
|
|
||||||
mv /usr/bin/qemu-loongarch64-static /usr/bin/qemu-loongarch64 && \
|
|
||||||
rm /usr/bin/qemu-*-static
|
|
||||||
|
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
RUN apk add --update \
|
RUN apk add --update \
|
||||||
bison \
|
bison \
|
||||||
build-base \
|
build-base \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 as alpine
|
||||||
|
|
||||||
RUN apk add ca-certificates
|
RUN apk add ca-certificates
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 as build
|
||||||
|
|
||||||
RUN apk add --no-cache bash go git musl-dev linux-headers make patch
|
RUN apk add --no-cache bash go git musl-dev linux-headers make patch
|
||||||
# Hack to work around an issue with go on arm64 requiring gcc
|
# Hack to work around an issue with go on arm64 requiring gcc
|
||||||
@@ -21,7 +21,7 @@ RUN mkdir -p /go/src/${GITBASE} \
|
|||||||
&& mv _output/cadvisor /usr/bin/
|
&& mv _output/cadvisor /usr/bin/
|
||||||
|
|
||||||
|
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Dockerfile to build linuxkit/containerd for linuxkit
|
# Dockerfile to build linuxkit/containerd for linuxkit
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 as alpine
|
||||||
|
|
||||||
RUN apk add tzdata binutils
|
RUN apk add tzdata binutils
|
||||||
RUN mkdir -p /etc/init.d && ln -s /usr/bin/service /etc/init.d/020-containerd
|
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:3cb13cb53e9901cd9e8a8c087e4599b9bdbe8931 as containerd-dev
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
RUN apk add --no-cache --initdb make
|
RUN apk add --no-cache --initdb make
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -15,7 +15,7 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
&& true
|
&& true
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
RUN apk add --no-cache git
|
RUN apk add --no-cache git
|
||||||
|
|
||||||
# Make sure you also update the FW_COMMIT in ../firmware/Dockerfile
|
# Make sure you also update the FW_COMMIT in ../firmware/Dockerfile
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Make modules from a recentish kernel available
|
# Make modules from a recentish kernel available
|
||||||
FROM linuxkit/kernel:6.6.71 AS kernel
|
FROM linuxkit/kernel:6.12.59 AS kernel
|
||||||
|
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
RUN apk add --no-cache git kmod
|
RUN apk add --no-cache git kmod
|
||||||
|
|
||||||
# Clone the firmware repository
|
# Clone the firmware repository
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -15,7 +15,7 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
&& true
|
&& true
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile to build linuxkit/getty for linuxkit
|
# Dockerfile to build linuxkit/getty for linuxkit
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev git
|
RUN apk add --no-cache go musl-dev git
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Dockerfile to build linuxkit/init for linuxkit
|
# Dockerfile to build linuxkit/init for linuxkit
|
||||||
FROM linuxkit/containerd-dev:fb4bf37a114ce1eb8a2c4ed3db91a50301805e2c AS containerd-dev
|
FROM linuxkit/containerd-dev:3cb13cb53e9901cd9e8a8c087e4599b9bdbe8931 AS containerd-dev
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
RUN apk add --no-cache --initdb alpine-baselayout make gcc musl-dev git linux-headers
|
RUN apk add --no-cache --initdb alpine-baselayout make gcc musl-dev git linux-headers
|
||||||
|
|
||||||
ADD usermode-helper.c ./
|
ADD usermode-helper.c ./
|
||||||
@@ -27,7 +27,7 @@ RUN go-compile.sh /go/src/cmd/service
|
|||||||
# volumes link to start
|
# volumes link to start
|
||||||
RUN mkdir -p /etc/init.d && ln -s /usr/bin/service /etc/init.d/005-volumes
|
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:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add curl
|
RUN apk add curl
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev linux-headers
|
RUN apk add --no-cache go musl-dev linux-headers
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile to build linuxkit/memlogd for linuxkit
|
# Dockerfile to build linuxkit/memlogd for linuxkit
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
@@ -22,5 +22,3 @@ COPY --from=build /go/bin/logread usr/bin/logread
|
|||||||
COPY --from=build /go/bin/logwrite usr/bin/logwrite
|
COPY --from=build /go/bin/logwrite usr/bin/logwrite
|
||||||
# We'll start from init.d
|
# We'll start from init.d
|
||||||
COPY etc/ /etc/
|
COPY etc/ /etc/
|
||||||
COPY --from=build /etc/apk /etc/apk/
|
|
||||||
COPY --from=build /lib/apk /lib/apk/
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
image: memlogd
|
image: memlogd
|
||||||
binds:
|
config:
|
||||||
|
binds:
|
||||||
- /var/run:/var/run
|
- /var/run:/var/run
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev linux-headers
|
RUN apk add --no-cache go musl-dev linux-headers
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ func (p *ProviderScaleway) Probe() bool {
|
|||||||
// Getting the conf should always work...
|
// Getting the conf should always work...
|
||||||
_, err := scalewayGet(scalewayMetadataURL + "conf")
|
_, err := scalewayGet(scalewayMetadataURL + "conf")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf(err.Error())
|
log.Print(err.Error())
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile to build linuxkit/modprobe for linuxkit
|
# Dockerfile to build linuxkit/modprobe for linuxkit
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
@@ -9,7 +9,7 @@ RUN apk add --no-cache --initdb -p /out \
|
|||||||
&& true
|
&& true
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
||||||
|
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as build
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 as build
|
||||||
|
|
||||||
RUN apk add --no-cache go git musl-dev make curl gcc
|
RUN apk add --no-cache go git musl-dev make curl gcc
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
alpine-baselayout \
|
alpine-baselayout \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
|
||||||
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
|
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:7f3944798557de5518a56e3437d7ed982701f224 AS build
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN mkdir -p /out/var/run
|
RUN mkdir -p /out/var/run
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go gcc musl-dev linux-headers
|
RUN apk add --no-cache go gcc musl-dev linux-headers
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile to build linuxkit/runc for linuxkit
|
# Dockerfile to build linuxkit/runc for linuxkit
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 as alpine
|
||||||
RUN \
|
RUN \
|
||||||
apk add \
|
apk add \
|
||||||
bash \
|
bash \
|
||||||
@@ -12,8 +12,8 @@ RUN \
|
|||||||
linux-headers \
|
linux-headers \
|
||||||
make \
|
make \
|
||||||
&& true
|
&& true
|
||||||
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
|
ENV GOPATH=/go PATH=$PATH:/go/bin
|
||||||
ENV RUNC_COMMIT=v1.1.12
|
ENV RUNC_COMMIT=v1.3.3
|
||||||
RUN mkdir -p $GOPATH/src/github.com/opencontainers && \
|
RUN mkdir -p $GOPATH/src/github.com/opencontainers && \
|
||||||
cd $GOPATH/src/github.com/opencontainers && \
|
cd $GOPATH/src/github.com/opencontainers && \
|
||||||
git clone https://github.com/opencontainers/runc.git
|
git clone https://github.com/opencontainers/runc.git
|
||||||
@@ -31,5 +31,3 @@ ENTRYPOINT []
|
|||||||
COPY --from=alpine /usr/bin/runc /usr/bin/
|
COPY --from=alpine /usr/bin/runc /usr/bin/
|
||||||
COPY --from=alpine /etc/init.d/ /etc/init.d/
|
COPY --from=alpine /etc/init.d/ /etc/init.d/
|
||||||
COPY --from=alpine /etc/shutdown.d/ /etc/shutdown.d/
|
COPY --from=alpine /etc/shutdown.d/ /etc/shutdown.d/
|
||||||
COPY --from=alpine /etc/apk /etc/apk/
|
|
||||||
COPY --from=alpine /lib/apk /lib/apk/
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
|
||||||
RUN apk add --no-cache --initdb -p /out \
|
RUN apk add --no-cache --initdb -p /out \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dockerfile to build linuxkit/sysctl for linuxkit
|
# Dockerfile to build linuxkit/sysctl for linuxkit
|
||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
@@ -17,6 +17,4 @@ CMD []
|
|||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=mirror /go/bin/sysctl /usr/bin/sysctl
|
COPY --from=mirror /go/bin/sysctl /usr/bin/sysctl
|
||||||
COPY etc/ /etc/
|
COPY etc/ /etc/
|
||||||
COPY --from=mirror /etc/apk /etc/apk/
|
|
||||||
COPY --from=mirror /lib/apk /lib/apk/
|
|
||||||
CMD ["/usr/bin/sysctl"]
|
CMD ["/usr/bin/sysctl"]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
|
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
|
||||||
|
|
||||||
RUN apk add --no-cache go musl-dev
|
RUN apk add --no-cache go musl-dev
|
||||||
ARG GOPKGVERSION
|
ARG GOPKGVERSION
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user