77 Commits

Author SHA1 Message Date
Justin Cormack
4cfb70d3cc Merge pull request #4207 from europaul/fix/load-files-into-container
pkg build: fix builder config and certs not copied into new containers
2026-03-18 18:08:17 +00:00
Paul Gaiduk
3751bb6d79 pkg build: fix builder config and certs not copied into new containers
LoadConfigFiles() was only called inside the container-inspect block,
so filesToLoadIntoContainer was never populated when no builder
container existed yet. The subsequent copyFilesToContainer() call
received a nil map, sending an empty tar archive and leaving
/etc/buildkit/ empty inside the newly created container.

Move the LoadConfigFiles() call before the inspect check so the config
and certificate data is always available when creating a fresh builder.

Co-Authored-By: Claude <noreply@anthropic.com>

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
2026-03-12 20:28:03 +01:00
Justin Cormack
bdef7e865a Merge pull request #4205 from rucoder/rucoder/env-vars-for-ci
pkg build: add env var support for mirror, org, builder image and config
2026-03-12 11:42:30 +00:00
Mikhail Malyshev
666bbfdbd5 pkg build: add env var support for mirror, org, builder image and config
Introduce environment variables for key CI/CD flags so that self-hosted
runners (e.g. GitHub Actions) can configure registry mirrors and push
targets without modifying calling Makefiles:

- LINUXKIT_MIRROR         - equivalent to --mirror (space/comma-separated);
                            CLI flags take precedence (last SetProxy wins)
- LINUXKIT_PKG_ORG        - equivalent to --org for all pkg subcommands
- LINUXKIT_BUILDER_IMAGE  - equivalent to --builder-image
- LINUXKIT_BUILDER_CONFIG - equivalent to --builder-config

All env var constants are consolidated in pkg_build.go alongside the
existing LINUXKIT_CACHE, LINUXKIT_BUILDER_NAME, LINUXKIT_BUILDERS.

Priority for all: CLI flag > env var > built-in default

Adds a new Environment Variables section to docs/packages.md with a
reference table covering all LINUXKIT_* vars and a note explaining the
two-layer mirror configuration required in CI (linuxkit pulls vs
buildkit Dockerfile pulls).

Signed-off-by: Roman Shaposhnik <rucoder@gmail.com>
Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
2026-03-12 10:48:39 +00:00
Justin Cormack
c766f572ce Merge pull request #4204 from rucoder/rucoder/per-user-builder-name
pkg build: make buildkit builder container name configurable
2026-03-12 10:27:40 +00:00
Mikhail Malyshev
72a76e5b79 pkg build: use named volume to persist buildkit cache across restarts
The moby/buildkit image declares VOLUME /var/lib/buildkit, which causes
Docker to create an anonymous volume when no explicit mount is given.
These anonymous volumes are orphaned every time the builder container is
recreated (--builder-restart, config change, privilege fix), leaking
disk space.

Switch to a named volume (<builder-name>-state) that is explicitly
mounted on container creation. This:

- Preserves build cache across container restarts, config changes, and
  privilege fixes, making rebuilds faster.
- Eliminates anonymous volume leaks.
- Removes the state volume when the builder image version changes, since
  buildkit state compatibility across versions is not guaranteed.

Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
2026-03-07 13:29:37 +00:00
Mikhail Malyshev
a85160e4d6 pkg build: make buildkit builder container name configurable
On shared servers where multiple users build packages against the same
Docker daemon, all users fight over a single hardcoded builder container
named "linuxkit-builder". One user's build can destroy another's
in-flight build when builder lifecycle management detects mismatches.

Make the builder container name configurable:

1. --builder-name CLI flag (highest priority)
2. LINUXKIT_BUILDER_NAME environment variable
3. "linuxkit-builder" default (original behavior, unchanged)

The flag is available on both "linuxkit pkg build" and
"linuxkit pkg builder" (du/prune) commands. Users on shared servers
can set LINUXKIT_BUILDER_NAME or pass --builder-name to get per-user
isolation (e.g. LINUXKIT_BUILDER_NAME=linuxkit-builder-$USER).

Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
2026-03-07 12:58:36 +00:00
Mikhail Malyshev
ccb0787e2a pkg build: refactor builder parameters into BuilderConfig struct
Group the four builder-related fields (name, image, config path, restart)
that always travel together into a BuilderConfig struct. This simplifies:

- DockerRunner interface (Build() and Builder() lose 3 params each)
- buildOpts struct (4 fields -> 1)
- buildArch() function signature (3 fewer params)
- DiskUsage() / PruneBuilder() / getClientForPlatform() signatures
- 4 WithBuildBuilder*() option functions -> 1 WithBuildBuilderConfig()

Also rename the confusingly-named "builderName" local variables in
buildArch() and getClientForPlatform() to "dockerContext", which better
reflects their actual purpose (they hold a Docker context name, not the
builder container name).

No behavioral changes.

Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
2026-02-26 08:20:01 +00:00
Avi Deitcher
e0151386c8 bump buildkit version and deps (#4202)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2026-01-18 14:32:24 +02:00
Avi Deitcher
4129cc7999 push release tags even when digest tag already is there (#4201)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2026-01-15 20:01:04 +02:00
Avi Deitcher
367e1f832a update images.yaml for raw-efi (#4198)
* update images.yaml for raw-efi

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* Fix mkimage-raw-efi script

Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
Signed-off-by: Avi Deitcher <avi@deitcher.net>

---------

Signed-off-by: Avi Deitcher <avi@deitcher.net>
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
Co-authored-by: Chris Irrgang <chris.irrgang@gmx.de>
2026-01-14 12:08:16 +02:00
Avi Deitcher
7c7ac4e640 runc enable GO111MODULE (#4195)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-12-11 21:07:29 +02:00
Chris Irrgang
50025b8840 separate kernel series hashing (#4194)
* separate kernel series hashing

Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>

* fix issues with the update component sha script

- add bsd/gnu cross compatibility for sed
- also replace in */test.sh files
- replace potentially problematic xargs
- remove potentially problematic word boundary \b

Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>

* Move common kernel files to dedicated folder

Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>

* run update-kernel-yamls

Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>

---------

Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-12-11 21:06:47 +02:00
Chris Irrgang
62c4fdb3d7 fix remaining two files for 6.12.59 kernel update
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-12-11 15:57:11 +02:00
Chris Irrgang
a066b29c1d fix remaining two files for 6.6.71 kernel hash update
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-12-11 15:57:11 +02:00
Chris Irrgang
fe86d9c345 update 6.6.71 kernel hashes after manual image registry fix
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-12-11 15:57:11 +02:00
Chris Irrgang
5fd23cf059 update kernel yamls
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-12-11 15:57:11 +02:00
Chris Irrgang
f935f6b18c bump kernel to 6.12.59
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-12-11 15:57:11 +02:00
Chris Irrgang
2ffdb936ad enable kernel vmware vmci support
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-12-11 15:57:11 +02:00
Avi Deitcher
c4e3043089 update qemu to solve slow builds using qemu binfmt
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-12-05 09:45:42 +02:00
Avi Deitcher
a2753b8da3 remove unnecessary apkdb from final package for memlogd and runc
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-12-03 12:08:42 +02:00
Avi Deitcher
cde127790c remove unnecessary apk package info from sysctl package
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-12-02 18:29:34 +02:00
Avi Deitcher
478807bd58 bump runc v3.3.0
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-11-18 12:30:46 -05:00
Avi Deitcher
2dd1217392 bump containerd v2.2.0
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-11-18 12:30:46 -05:00
Chris Irrgang
56e37a842e Add raw-efi test + documentation
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-11-09 04:36:36 -05:00
Chris Irrgang
804d52374e Switch to systemd-boot for raw-efi builds
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-11-09 04:36:36 -05:00
Avi Deitcher
238449c2d6 more package hash updates
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Avi Deitcher
e9114d690c fix missing containerd-dev
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Avi Deitcher
f5c8db72f4 update images.yaml
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Avi Deitcher
f73fa3b088 update tools based on grub
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Avi Deitcher
91a857dbfc sanity check on images.yaml
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Avi Deitcher
8fa6ab79b6 revert rpi3 build change
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Avi Deitcher
1723cf9493 Update package tags
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Avi Deitcher
6786caa59b tests: Update tests cases to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-10-29 07:10:30 -04:00
Chris Irrgang
72de5c6476 Update package tags
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-29 07:10:30 -04:00
Chris Irrgang
38c84d8c3c pkgs: Update packages to the latest linuxkit/alpine
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-29 07:10:30 -04:00
Chris Irrgang
c56bc379e6 Update use of test packages to latest
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-29 07:10:30 -04:00
Chris Irrgang
7dfbca36c7 tests: Update packages to the latest linuxkit/alpine
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-29 07:10:30 -04:00
Chris Irrgang
315cead648 Update use of tools to latest
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-29 07:10:30 -04:00
Chris Irrgang
35ab913bfb tools: Update to the latest linuxkit/alpine
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-29 07:10:30 -04:00
Chris Irrgang
397d7c2943 Add systemd-boot to alpine
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-29 07:10:30 -04:00
Chris Irrgang
5673ee1bfb Update kernel config test hashes
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
dadefbc5eb Fix kernel config test for 6.12.x
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
5f0b5f292e Update remaining hashes in tests manually
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
17e9b4412b Update kernel versions/hashes
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
ffd4a12ba2 Enable CONFIG_INET_DIAG_DESTROY
GH-4167

Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
c5d422c9d7 Fix kernel show-tags output
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
07231ef799 Add new kernel tests
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
2e3df6e42b Configure EIF boot/stub
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
1200d24201 Add kernel apparmor support
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Chris Irrgang
be7c483e17 Create new kernel series 6.12.x
Signed-off-by: Chris Irrgang <chris.irrgang@gmx.de>
2025-10-26 14:09:16 +02:00
Paul Gaiduk
d94f2e9095 Fix Go formatting issues to pass make local-check
Applied gofmt -s -w to fix formatting issues in pkglib/build.go that
were causing the make local-check target to fail during the gofmt step.

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
2025-10-03 12:35:12 +03:00
Paul Gaiduk
47d5c89132 Fix cache import failing when reading from stdin
The cache import command was not properly handling stdin input,
treating "-" as filename, causing failures when piping data.
This commit fixes the stdin handling logic.

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
2025-10-03 12:35:12 +03:00
Avi Deitcher
a8cf7dabec fix build when pulling from non-default registry
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-09-25 13:47:38 +03:00
Avi Deitcher
4c81a1408b do full releases, not draft
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-09-16 16:34:22 +03:00
Christoph Ostarek
43200ea634 pkglib: untangle WithBuildDocker and DryRun
this makes it possible for a user of this API to
build their own DryRunner

also make newDockerRunner public as well to be consistent

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
2025-09-15 15:49:40 +03:00
Christoph Ostarek
bb0cf49975 pkglib/build: make dockerRunner public
there is already a public method "WithBuildDocker",
so it makes sense that the parameter definition is public as well
so that a user of this method can actually use it

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
2025-09-15 15:49:40 +03:00
Avi Deitcher
2ed6850397 when comparing builder config files, ensure only compare post-processed
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-09-14 10:20:55 +03:00
Avi Deitcher
a755fd917d validate linuxkit yaml for unknown fields
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-09-05 15:12:54 +02:00
Avi Deitcher
358803fcc7 validate yaml for extraneous fields in pkg build
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-09-05 15:12:54 +02:00
Christoph Ostarek
9da6903609 cache/provider: use lock correctly
even checking if the file-lock object is non-nil needs
to be guarded with the lock

`go test -race` output:
```
==================
WARNING: DATA RACE
Read at 0x00c0005283f0 by goroutine 17:
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/cache.(*Provider).Lock()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/cache/provider.go:57 +0x55
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/cache.(*Provider).Index()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/cache/provider.go:47 +0x47
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/cache.(*Provider).FindDescriptor()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/cache/find.go:86 +0x46
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.(*dockerRunnerImpl).build()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/dockerimpl.go:683 +0x2a90
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.(*dockerRunnerImpl).builder()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/dockerimpl.go:245 +0x748
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.(*dockerRunnerImpl).build()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/dockerimpl.go:507 +0xec
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.Pkg.buildArch()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/build.go:718 +0x13cf
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.Pkg.Build()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/build.go:495 +0x4b64
  bpftrace-compiler.(*imageBuilder).buildPkgs()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/pkgbuild.go:150 +0xf2d
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.WalkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:400 +0x89
  bpftrace-compiler.hashDir()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/util.go:103 +0x2ae
  bpftrace-compiler.(*imageBuilder).buildPkgs()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/pkgbuild.go:96 +0x144
  bpftrace-compiler.TestCreateMobyConfig()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/pkgbuild_test.go:14 +0x26f
  testing.tRunner()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:1792 +0x225
  testing.(*T).Run.gowrap1()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:1851 +0x44
Previous write at 0x00c0005283f0 by goroutine 65:
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/cache.(*Provider).Lock()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/cache/provider.go:67 +0x2da
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/cache.(*Provider).ImageLoad()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/cache/write.go:157 +0x279
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.Pkg.buildArch.func2()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/build.go:697 +0x86
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /home/runner/go/pkg/mod/golang.org/x/sync@v0.16.0/errgroup/errgroup.go:93 +0x91
Goroutine 17 (running) created at:
  testing.(*T).Run()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:1851 +0x8f2
  testing.runTests.func1()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:2279 +0x85
  testing.tRunner()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:1792 +0x225
  testing.runTests()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:2277 +0x96c
  testing.(*M).Run()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:2142 +0xeea
  main.main()
      _testmain.go:69 +0x164
Goroutine 65 (running) created at:
  golang.org/x/sync/errgroup.(*Group).Go()
      /home/runner/go/pkg/mod/golang.org/x/sync@v0.16.0/errgroup/errgroup.go:78 +0x124
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.Pkg.buildArch()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/build.go:696 +0xb05
  github.com/linuxkit/linuxkit/src/cmd/linuxkit/pkglib.Pkg.Build()
      /home/runner/go/pkg/mod/github.com/linuxkit/linuxkit/src/cmd/linuxkit@v0.0.0-20250829112740-179f74ac245b/pkglib/build.go:495 +0x4b64
  bpftrace-compiler.(*imageBuilder).buildPkgs()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/pkgbuild.go:150 +0xf2d
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:310 +0x84
  path/filepath.walkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:332 +0x39e
  path/filepath.WalkDir()
      /opt/hostedtoolcache/go/1.24.6/x64/src/path/filepath/path.go:400 +0x89
  bpftrace-compiler.hashDir()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/util.go:103 +0x2ae
  bpftrace-compiler.(*imageBuilder).buildPkgs()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/pkgbuild.go:96 +0x144
  bpftrace-compiler.TestCreateMobyConfig()
      /home/runner/work/eve/eve/eve-tools/bpftrace-compiler/pkgbuild_test.go:14 +0x26f
  testing.tRunner()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:1792 +0x225
  testing.(*T).Run.gowrap1()
      /opt/hostedtoolcache/go/1.24.6/x64/src/testing/testing.go:1851 +0x44
==================
```

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
2025-09-03 11:04:39 +03:00
christoph-zededa
179f74ac24 pkglib/git: remove trailing spaces of GOPKGVERSION (#4164)
this makes `--dry-run` inconvenient as it includes a newline

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
2025-08-29 14:27:40 +03:00
Avi Deitcher
41cafa3cc3 bump runc to v1.3.0 and containerd to v2.1.4 (#4165)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-08-28 21:05:06 +03:00
Avi Deitcher
8d19b25408 add support for pkg build dry-run (#4163)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-08-28 13:35:52 +03:00
Avi Deitcher
c3228fb526 erofs output (#4162)
* add erofs as output option

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* unify nearly identical functions

Signed-off-by: Avi Deitcher <avi@deitcher.net>

---------

Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-08-28 10:34:53 +03:00
Avi Deitcher
506d11f06d bump alpine; add erofs-utils package (#4161)
* bump alpine to 3.22; include erofs-utils

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* tools/alpine: Update to latest

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* tools: Update to the latest linuxkit/alpine

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* Update use of tools to latest

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* Update use of test packages to latest

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* pkgs: Update packages to the latest linuxkit/alpine

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* Update package tags

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* fix scaleway error

Signed-off-by: Avi Deitcher <avi@deitcher.net>

---------

Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-08-27 19:07:26 +03:00
Avi Deitcher
5cd48735d5 update debian for binfmt (#4159)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-08-14 16:35:56 +03:00
Avi Deitcher
cacc2bbb8e simplify sharding in package tests for CI; increase to 12 shards (#4158)
* simplify sharding in package tests for CI; increase to 12 shards

Signed-off-by: Avi Deitcher <avi@deitcher.net>

* for CI setup-go action, determine it based on go.mod file

Signed-off-by: Avi Deitcher <avi@deitcher.net>

---------

Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-08-13 16:02:36 +03:00
Avi Deitcher
999110c6de add support for dynamically calculated build arg sets (#4156) 2025-08-13 12:33:52 +03:00
Avi Deitcher
1caf2feffc add support for custom build args (#4155)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-08-11 11:58:17 +03:00
Avi Deitcher
3d9bb9a128 add support for specifying additional certificates (#4153)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-07-31 19:36:10 +03:00
Avi Deitcher
1d3a8235a9 option to pull down required images from to the cache, so that buildkit never gets them over the network (#4149)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-07-27 19:07:20 +03:00
Avi Deitcher
ef68e7bcd5 provide mirror support (#4148)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-07-27 19:06:36 +03:00
Avi Deitcher
eae788724a check lock when reading cache provider index (#4147)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-07-21 22:14:59 +02:00
Avi Deitcher
bc44cb899c fix registry auth (#4146)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-07-15 14:07:20 +03:00
Avi Deitcher
33ee27971d for pkg build builder, copy config over rather than bind-mounting it (#4145)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-07-13 21:18:00 +03:00
Avi Deitcher
fa246722e2 add missing CRLF in log message (#4144)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2025-07-13 17:30:59 +03:00
1182 changed files with 106705 additions and 16275 deletions

View File

@@ -1,6 +1,9 @@
name: LinuxKit CI
on: [push, pull_request]
env:
TOTAL_SHARDS: 12 # change here once
jobs:
build:
name: Build & Test
@@ -35,15 +38,15 @@ jobs:
runs-on: ${{ matrix.target.runner }}
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.22.3
id: go
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go based on go.mod
uses: actions/setup-go@v5
with:
go-version-file: 'src/cmd/linuxkit/go.mod'
id: go
- name: Set path
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
env:
@@ -150,14 +153,43 @@ jobs:
- name: list cache contents
run: |
linuxkit cache ls
gen_package_test_matrix:
name: Generate Package Test Matrix
needs: [ build_packages, build ]
runs-on: ubuntu-latest
outputs:
shard_list: ${{ steps.mk.outputs.list }}
steps:
- name: Generate Test Matrix
id: mk
shell: bash
run: |
set -x
N="${{ env.TOTAL_SHARDS }}"
# Priority: repo var SHARDS → event-based default (PR=6, else 10)
if [ -n "${{ vars.SHARDS }}" ]; then
N="${{ vars.SHARDS }}"
fi
# Build JSON array ["1/N","2/N",...,"N/N"]
shards=""
for i in $(seq 1 "$N"); do
if [ -z "$shards" ]; then
shards="\"$i/$N\""
else
shards="$shards,\"$i/$N\""
fi
done
echo "list=[$shards]" >> "$GITHUB_OUTPUT"
test_packages:
name: Packages Tests
needs: [ build_packages, build ]
needs: [ build_packages, build, gen_package_test_matrix ]
runs-on: ubuntu-latest
strategy:
matrix:
shard: [1/10,2/10,3/10,4/10,5/10,6/10,7/10,8/10,9/10,10/10]
shard: ${{ fromJson(needs.gen_package_test_matrix.outputs.shard_list) }}
steps:
- name: Check out code
uses: actions/checkout@v4

View File

@@ -9,13 +9,13 @@ jobs:
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/pkg-v')
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.22.3
id: go
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go based on go.mod
uses: actions/setup-go@v5
with:
go-version-file: 'src/cmd/linuxkit/go.mod'
id: go
- name: Ensure bin/ directory
run: mkdir -p bin
- name: Install linuxkit

View File

@@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.122
uses: actions/setup-go@v5
with:
go-version: 1.22.3
id: go
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go based on go.mod
uses: actions/setup-go@v5
with:
go-version-file: 'src/cmd/linuxkit/go.mod'
id: go
- name: Set path
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
@@ -42,14 +42,14 @@ jobs:
runs-on: macos-latest
steps:
- name: Set up Go 1.122
uses: actions/setup-go@v5
with:
go-version: 1.22.3
id: go
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go based on go.mod
uses: actions/setup-go@v5
with:
go-version-file: 'src/cmd/linuxkit/go.mod'
id: go
- name: Set path
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
@@ -88,10 +88,10 @@ jobs:
run: |
make checksum-targets
- name: GitHub Release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
draft: false
files: bin/*
generate_release_notes: true

View File

@@ -30,7 +30,7 @@ spec:
operator: Exists
effect: NoSchedule
containers:
- image: linuxkit/open-vm-tools:8a320f7453711f0544f4b03558aaf0b80c7c23f1
- image: linuxkit/open-vm-tools:ce668b7064e26dbb4767a9106aae8cb888a3a61c
name: open-vm-tools
resources:
requests:

View File

@@ -57,7 +57,7 @@ A package source consists of a directory containing at least two files:
- `gitrepo` _(string)_: The git repository where the package source is kept.
- `network` _(bool)_: Allow network access during the package build (default: no)
- `disable-cache` _(bool)_: Disable build cache for this package (default: no)
- `buildArgs` will forward a list of build arguments down to docker. As if `--build-arg` was specified during `docker build`
- `buildArgs` will forward a list of build arguments down to docker. As if `--build-arg` was specified during `docker build`. See [BuildArgs][BuildArgs] for more information.
- `config`: _(struct `github.com/moby/tool/src/moby.ImageConfig`)_: Image configuration, marshalled to JSON and added as `org.mobyproject.config` label on image (default: no label)
- `depends`: Contains information on prerequisites which must be satisfied in order to build the package. Has subfields:
- `docker-images`: Docker images to be made available (as `tar` files via `docker image save`) within the package build context. Contains the following nested fields:
@@ -382,6 +382,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`,
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
Normally, whenever a package is updated, CI will build and push the package to Docker Hub by calling `linuxkit pkg push`.

View File

@@ -1,25 +1,25 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
binds.add:
# this will keep all of the existing ones as well
- /var/tmp:/var/tmp
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)

View File

@@ -1,34 +1,34 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: sysfs
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
image: linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
- name: format
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
- name: mount
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: ntpd
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
image: linuxkit/openntpd:2508f1d040441457a0b3e75744878afdf61bc473
- name: docker
image: docker:20.10.6-dind
@@ -46,7 +46,7 @@ services:
- /etc/docker/daemon.json:/etc/docker/daemon.json
command: ["/usr/local/bin/docker-init", "/usr/local/bin/dockerd"]
- name: cadvisor
image: linuxkit/cadvisor:8dfefe0f9593ba21aca5d08fadac16de907d470d
image: linuxkit/cadvisor:117b93de56bb9d4838ad61d22146572c4261f449
files:
- path: var/lib/docker
directory: true

View File

@@ -1,17 +1,17 @@
# example with volumes, both blank and populated
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
onshutdown:
- name: shutdown
@@ -19,11 +19,11 @@ onshutdown:
command: ["/bin/echo", "so long and thanks for all the fish"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: nginx
image: nginx:1.19.5-alpine
capabilities:

View File

@@ -1,31 +1,31 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
command: ["/usr/bin/format", "/dev/sda"]
- name: mount
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/dev/sda1", "/var/external"]
- name: loop
image: linuxkit/losetup:095ff80d8e8fad1707741ea2584a36f3b80e787d
image: linuxkit/losetup:ba1b84df18e666b4b860c4c39fd4aedb228bee96
command: ["/usr/bin/loopy", "--create", "/var/external/storage_file"]
- name: dm-crypt
image: linuxkit/dm-crypt:981fde241bb84616a5ba94c04cdefa1489431a25
image: linuxkit/dm-crypt:27e016fa7c12d6cfce0d045a65b112c787f6dc3c
command: ["/usr/bin/crypto", "crypt_loop_dev", "/dev/loop0"]
- name: mount
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/dev/mapper/crypt_loop_dev", "/var/secure_storage"]
- name: bbox
image: busybox
@@ -34,11 +34,11 @@ onboot:
- /var:/var
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
files:
- path: etc/dm-crypt/key
# the below key is just to keep the example self-contained

View File

@@ -1,25 +1,25 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
command: ["/usr/bin/format", "/dev/sda"]
- name: dm-crypt
image: linuxkit/dm-crypt:981fde241bb84616a5ba94c04cdefa1489431a25
image: linuxkit/dm-crypt:27e016fa7c12d6cfce0d045a65b112c787f6dc3c
command: ["/usr/bin/crypto", "crypt_dev", "/dev/sda1"]
- name: mount
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/dev/mapper/crypt_dev", "/var/secure_storage"]
- name: bbox
image: busybox
@@ -28,11 +28,11 @@ onboot:
- /var:/var
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
files:
- path: etc/dm-crypt/key
# the below key is just to keep the example self-contained

View File

@@ -1,32 +1,32 @@
# This is an example for building the open source components of Docker for Mac
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0 page_poison=1"
init:
- linuxkit/vpnkit-expose-port:b30e8456ac128b2ac360329898368b309ea6e477 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/vpnkit-expose-port:19c9fd4180d33c9b434fd73b1a3a7ab83cadbf30 # install vpnkit-expose-port and vpnkit-iptables-wrapper on host
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
# support metadata for optional config in /run/config
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: sysfs
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
image: linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
- name: binfmt
image: linuxkit/binfmt:ce9509ccfa25002227ccd7ed8dd48d6947854427
image: linuxkit/binfmt:4924dc6b9aa7e0bcc6fe8825c24471eac4684108
# Format and mount the disk image in /var/lib/docker
- name: format
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
- name: mount
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/var/lib"]
# make a swap file on the mounted disk
- name: swap
image: linuxkit/swap:f4b8ffef87c8c72165bd8a92b790ac252ccf1821
image: linuxkit/swap:7e19e5e69370e82b90a110093441abbf5e70638b
command: ["/swap.sh", "--path", "/var/lib/swap", "--size", "1024M"]
# mount-vpnkit mounts the 9p share used by vpnkit to coordinate port forwarding
- name: mount-vpnkit
@@ -44,41 +44,41 @@ onboot:
- /var:/host_var
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
# Enable acpi to shutdown on power events
- name: acpid
image: linuxkit/acpid:6cb5575e487a8fcbd4c3eb6721c23299e6ea452f
image: linuxkit/acpid:dbd30b25903bf17042c22171b729f94c4bd3d98d
# Enable getty for easier debugging
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
# Run ntpd to keep time synchronised in the VM
- name: ntpd
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
image: linuxkit/openntpd:2508f1d040441457a0b3e75744878afdf61bc473
# VSOCK to unix domain socket forwarding. Forwards guest /var/run/docker.sock
# to a socket on the host.
- name: vsudd
image: linuxkit/vsudd:127acd1453f7bfda791491ac4c55be0d2b9223cc
image: linuxkit/vsudd:b227ed955d14720fcb99f0e1fbd69fbc1dea3106
binds:
- /var/run:/var/run
command: ["/vsudd", "-inport", "2376:unix:/var/run/docker.sock"]
# vpnkit-forwarder forwards network traffic to/from the host via VSOCK port 62373.
# It needs access to the vpnkit 9P coordination share
- name: vpnkit-forwarder
image: linuxkit/vpnkit-forwarder:e22bb70abdb5550c369f91ae7068c24e19beff73
image: linuxkit/vpnkit-forwarder:d0bc6500a9dc97b4556bb4bda20160a294cc61a3
binds:
- /var/vpnkit:/port
net: host
command: ["/vpnkit-forwarder", "-vsockPort", "62373"]
# Monitor for image deletes and invoke a TRIM on the container filesystem
- name: trim-after-delete
image: linuxkit/trim-after-delete:fe73247abd4ab7584a75e95083543af97fe90d4d
image: linuxkit/trim-after-delete:012784ce3bdd59d42799dbf6555fe6da972cc721
# When the host resumes from sleep, force a clock resync
- name: host-timesync-daemon
image: linuxkit/host-timesync-daemon:548bfe9d35c930ee42d6c0485bb4bf25d2729bad
image: linuxkit/host-timesync-daemon:288c5bf6d7cd40b76d7a2276435c3c011cb26e37
# Run dockerd with the vpnkit userland proxy from the vpnkit-forwarder container.
# Bind mounts /var/run to allow vsudd to connect to docker.sock, /var/vpnkit
# for vpnkit coordination and /run/config/docker for the configuration file.

View File

@@ -1,32 +1,32 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: sysfs
image: linuxkit/sysfs:7345172dbf4d436c861adfc27150af474194289b
image: linuxkit/sysfs:6d5bd933762f6b216744c711c6e876756cee9600
- name: format
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
- name: mount
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/var/lib/docker"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
- name: ntpd
image: linuxkit/openntpd:f99c4117763480815553b72022b426639a13ce86
image: linuxkit/openntpd:2508f1d040441457a0b3e75744878afdf61bc473
- name: docker
image: docker:20.10.6-dind
capabilities:

View File

@@ -1,25 +1,25 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
# to make insecure with passwordless root login, uncomment following lines
#env:
# - INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)

View File

@@ -1,16 +1,16 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
onshutdown:
- name: shutdown
@@ -18,7 +18,7 @@ onshutdown:
command: ["/bin/echo", "so long and thanks for all the fish"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
runtime:
@@ -30,7 +30,7 @@ services:
destination: writeable-host-etc
options: ["rw", "lowerdir=/etc", "upperdir=/run/hostetc/upper", "workdir=/run/hostetc/work"]
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: nginx
image: nginx:1.13.8-alpine
capabilities:

View File

@@ -1,18 +1,18 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: influxdb

View File

@@ -1,23 +1,23 @@
# Simple example of using an external logging service
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/memlogd:e28ecaa23a3693ae96575fb3bc421bc1d9f46c4f
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
- linuxkit/memlogd:19b0fdec83dded95e0a2f97a8ca6868f5e83c401
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
# Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
# A service which generates log messages for testing
@@ -25,6 +25,6 @@ services:
image: alpine:3.13
command: ["/bin/sh", "-c", "while /bin/true; do echo hello $(date); sleep 1; done" ]
- name: write-and-rotate-logs
image: linuxkit/logwrite:3f138a010098862845b7270fc3715a03d0e3871e
image: linuxkit/logwrite:24e6a76c2d45a7679d4f53db9ea377373b543dc7
- name: kmsg
image: linuxkit/kmsg:9b0a33abebde8de005a3bfaf8dc06f183a9ba7b8
image: linuxkit/kmsg:c4d8d509cf496faa21c184ae7fdff6fddc6e186d

View File

@@ -1,16 +1,16 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true

View File

@@ -1,18 +1,18 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
- name: node_exporter
image: linuxkit/node_exporter:1415b52c08ddc5799b2fc83cf3f080c56c3ff5a9
image: linuxkit/node_exporter:f334791f344bdf477317840e14cee57904fee95a

View File

@@ -1,25 +1,25 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
command: ["/usr/bin/metadata", "openstack"]
services:
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx

View File

@@ -1,27 +1,27 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
services:
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd2
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx

View File

@@ -1,21 +1,21 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
services:
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /root/.ssh:/root/.ssh
files:

View File

@@ -5,10 +5,10 @@
# for arm64 then the 'ucode' line in the kernel section can be left
# out.
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyAMA0"
ucode: ""
onboot:
- name: modprobe
image: linuxkit/modprobe:773ee174006ecbb412830e48889795bae40b62f9
image: linuxkit/modprobe:4248cdc3494779010e7e7488fc17b6fd45b73aeb
command: ["modprobe", "nicvf"]

View File

@@ -1,34 +1,34 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: console=ttyS1
ucode: intel-ucode.cpio
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/firmware:bfc7802f909c4b760de5dd2bc02a7f52e86b78f7
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
- linuxkit/firmware:68c2b29f28f2639020b9f8d55254d333498a30aa
onboot:
- name: rngd1
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
command: ["/sbin/rngd", "-1"]
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
command: ["/usr/bin/metadata", "equinixmetal"]
services:
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /root/.ssh:/root/.ssh
files:

View File

@@ -1,28 +1,28 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx

View File

@@ -1,34 +1,34 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: console=ttyS1
ucode: intel-ucode.cpio
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/firmware:bfc7802f909c4b760de5dd2bc02a7f52e86b78f7
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
- linuxkit/firmware:68c2b29f28f2639020b9f8d55254d333498a30aa
onboot:
- name: rngd1
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
command: ["/sbin/rngd", "-1"]
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
command: ["/usr/bin/metadata", "hetzner"]
services:
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /root/.ssh:/root/.ssh
files:

View File

@@ -2,24 +2,24 @@ kernel:
image: linuxkit/kernel:6.6.71-rt
cmdline: "console=tty0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
- name: open-vm-tools
image: linuxkit/open-vm-tools:8a320f7453711f0544f4b03558aaf0b80c7c23f1
image: linuxkit/open-vm-tools:ce668b7064e26dbb4767a9106aae8cb888a3a61c
- name: nginx
image: nginx:1.13.8-alpine
capabilities:

View File

@@ -1,26 +1,26 @@
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"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: rngd1
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
command: ["/sbin/rngd", "-1"]
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198

View File

@@ -1,23 +1,23 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
- name: nginx
image: nginx:1.13.8-alpine
capabilities:

View File

@@ -1,29 +1,29 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:4f81c0c3a2b245567fd7d32d799018c9614a9907
image: linuxkit/metadata:4bbf406678d376e1ae9c9efae6ca2421f63fb4ff
command: ["/usr/bin/metadata", "vultr"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx

View File

@@ -1,19 +1,19 @@
# Minimal YAML to run a redis server (used at DockerCon'17)
# connect: nc localhost 6379
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
# Currently redis:4.0.6-alpine has trust issue with multi-arch

View File

@@ -1,28 +1,28 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: rngd1
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
command: ["/sbin/rngd", "-1"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /root/.ssh:/root/.ssh
files:

View File

@@ -1,19 +1,19 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
onboot:
- name: ip
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
image: linuxkit/ip:3c0676ee83a0dc739685be1253b8326f08581ef7
binds:
- /etc/ip:/etc/ip
command: ["ip", "-b", "/etc/ip/eth0.conf"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
files:

View File

@@ -1,31 +1,31 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:3fb088f60ed73ba4a15be41e44654b74112fd3f9
image: linuxkit/format:4f779c0b0d0ba145b7f03211b5cbf59fbbe12e54
- name: mount
image: linuxkit/mount:cb8caa72248f7082fc2074ce843d53cdc15df04a
image: linuxkit/mount:bd1c3bb45e48e68e47a9456d1669f7119f855184
command: ["/usr/bin/mountie", "/var/external"]
- name: swap
image: linuxkit/swap:f4b8ffef87c8c72165bd8a92b790ac252ccf1821
image: linuxkit/swap:7e19e5e69370e82b90a110093441abbf5e70638b
# to use unencrypted swap, use:
# command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G"]
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198

View File

@@ -1,26 +1,26 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: tss
image: linuxkit/tss:dbdcce4c3a840f8337d20991807439b2096a1457
image: linuxkit/tss:15e6d8a72e46089109985ee9a72dc457bf5c42b1
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)

View File

@@ -1,17 +1,17 @@
# example with volumes, both blank and populated
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
onshutdown:
- name: shutdown
@@ -19,11 +19,11 @@ onshutdown:
command: ["/bin/echo", "so long and thanks for all the fish"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: nginx
image: nginx:1.19.5-alpine
capabilities:

View File

@@ -1,13 +1,13 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: mount-vpnkit
image: alpine:3.13
@@ -19,11 +19,11 @@ onboot:
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
services:
- name: sshd
image: linuxkit/sshd:9bdd85427ef99640276d97a32a7a3cc31bb017b3
image: linuxkit/sshd:08e5d4a46603eff485d5d1b14001cc932a530858
binds.add:
- /root/.ssh:/root/.ssh
- name: vpnkit-forwarder
image: linuxkit/vpnkit-forwarder:e22bb70abdb5550c369f91ae7068c24e19beff73
image: linuxkit/vpnkit-forwarder:d0bc6500a9dc97b4556bb4bda20160a294cc61a3
binds:
- /var/vpnkit:/port
net: host

View File

@@ -1,17 +1,17 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=ttyS0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: vsudd
image: linuxkit/vsudd:127acd1453f7bfda791491ac4c55be0d2b9223cc
image: linuxkit/vsudd:b227ed955d14720fcb99f0e1fbd69fbc1dea3106
binds:
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
command: ["/vsudd",

View File

@@ -1,19 +1,19 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: wg0
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
image: linuxkit/ip:3c0676ee83a0dc739685be1253b8326f08581ef7
net: new
binds:
- /etc/wireguard:/etc/wireguard
@@ -26,7 +26,7 @@ onboot:
bindNS:
net: /run/netns/wg0
- name: wg1
image: linuxkit/ip:9696394a7d57b384ae919662ae162c9152029156
image: linuxkit/ip:3c0676ee83a0dc739685be1253b8326f08581ef7
net: new
binds:
- /etc/wireguard:/etc/wireguard
@@ -40,12 +40,12 @@ onboot:
net: /run/netns/wg1
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
net: /run/netns/wg1
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: nginx
image: nginx:1.13.8-alpine
net: /run/netns/wg0

3
kernel/6.12.x/build-args Normal file
View 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

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

View File

@@ -25,14 +25,19 @@ EXTRA?=
DEBUG?=
ifeq ($(HASH),)
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
HASH_COMMIT?=HEAD
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)
@@ -55,8 +60,6 @@ endif
BUILD_PLATFORM=linux/$(BUILDERARCH)
HASHTAG=$(HASH)$(DIRTY)
.PHONY: notdirty
notdirty:
@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 "Deprecated: $(DEPRECATED)"
@echo "Tools: $(TOOLS)"
@echo "Shared hash: $(SHARED_HASH)"
setforce:
$(eval FORCE=--force)
@@ -122,15 +126,17 @@ build-%: buildkernel-% buildtools-%;
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-%
$(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-%
$(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-%;
@@ -145,19 +151,25 @@ tagbuilder-%: notdirty
pushkernel-%: pushplainkernel-% pushdebugkernel-%;
pushplainkernel-%: buildplainkernel-%
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-{{.Hash}}"))
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*"))
$(eval KERNEL_SERIES=$(call series,$*))
$(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) --remote-name $(PLAIN_IMAGE)
pushdebugkernel-%: builddebugkernel-%
$(eval HASHED_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-dbg-{{.Hash}}"))
$(eval PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-kernel.yml --tag "$*-dbg"))
$(eval KERNEL_SERIES=$(call series,$*))
$(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) --remote-name $(PLAIN_IMAGE)
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));
@@ -165,7 +177,8 @@ buildtool-%:
$(eval TOOL=$(call toolname,$*))
$(eval KERNEL_VERSION=$(call toolkernel,$*))
$(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));
@@ -173,8 +186,9 @@ pushtool-%: buildtool-%
$(eval TOOL=$(call toolname,$*))
$(eval KERNEL_VERSION=$(call toolkernel,$*))
$(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 PLAIN_IMAGE=$(shell linuxkit pkg show-tag . --build-yml ./build-$(TOOL).yml --tag "$(KERNEL_VERSION)"))
$(eval SERIES_HASH=$(call series_hash,$(KERNEL_SERIES)))
$(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) --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
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
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
# will update hash for same semver and/or patch version
@@ -214,7 +232,7 @@ KCONFIG_TAG_EXTENSION=-${KCONFIG_TAG}
endif
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 BUILD_IMAGE=$(IMAGE_BUILDER) \
--platform $(BUILD_PLATFORM) \
@@ -222,7 +240,7 @@ kconfig:
kconfigx:
ifeq (${KCONFIG_TAG},)
docker buildx build --no-cache -f Dockerfile.kconfigx \
docker buildx build --no-cache -f $(COMMON_DIR)/Dockerfile.kconfigx \
--platform $(BUILD_PLATFORM) \
--output . \
--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}-riscv64 config-${KERNEL_SERIES}-riscv64
else
docker buildx build --no-cache -f Dockerfile.kconfigx \
docker buildx build --no-cache -f $(COMMON_DIR)/Dockerfile.kconfigx \
--platform $(BUILD_PLATFORM) --push \
--output . \
--build-arg KERNEL_VERSIONS="$(KERNEL_VERSIONS)" \

View File

@@ -1,3 +0,0 @@
image: kernel-bcc
network: true
dockerfile: Dockerfile.bcc

View File

@@ -1,2 +0,0 @@
image: kernel
network: true

View File

@@ -1,3 +0,0 @@
image: kernel-perf
network: true
dockerfile: Dockerfile.perf

View File

@@ -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_PGP2_SIGN=https://www.kernel.org/pub/linux/kernel/${KERNEL_MAJOR}/linux-${KERNEL_VERSION}.tar.sign && \
curl -fsSLO ${KERNEL_SHA256_SUMS} && \
gpg2 -q --import /src/keys.asc && \
gpg2 -q --import /src/common/keys.asc && \
gpg2 --verify sha256sums.asc && \
KERNEL_SHA256=$(grep linux-${KERNEL_VERSION}.tar.xz sha256sums.asc | cut -d ' ' -f 1) && \
[ -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}; \
if [ -n "${DEBUG}" ]; then \
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 && \
make defconfig && \
make oldconfig && \
@@ -140,10 +140,22 @@ RUN make -j "$(getconf _NPROCESSORS_ONLN)" KCFLAGS="-fno-pie" && \
cp arch/x86_64/boot/bzImage /out/kernel; \
;; \
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) \
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 && \
cp System.map /out && \

View File

@@ -0,0 +1,3 @@
image: kernel-bcc
network: true
dockerfile: common/Dockerfile.bcc

View File

@@ -0,0 +1,3 @@
image: kernel
network: true
dockerfile: common/Dockerfile

View File

@@ -0,0 +1,3 @@
image: kernel-perf
network: true
dockerfile: common/Dockerfile.perf

View File

@@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- "@pkg:./pkg/init"

View File

@@ -1,16 +1,16 @@
kernel:
image: linuxkit/kernel:6.6.71
image: linuxkit/kernel:6.12.59
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:8eea386739975a43af558eec757a7dcb3a3d2e7b
- linuxkit/runc:667e7ea2c426a2460ca21e3da065a57dbb3369c9
- linuxkit/containerd:a988a1a8bcbacc2c0390ca0c08f949e2b4b5915d
- linuxkit/ca-certificates:7b32a26ca9c275d3ef32b11fe2a83dbd2aee2fdb
- linuxkit/init:b5506cc74a6812dc40982cacfd2f4328f8a4b12a
- linuxkit/runc:9442aa234715e751a16144f1d4ae3fd1a00fd492
- linuxkit/containerd:ba19f64efd3331a8fd0a33e00eabd14f6ee1780e
- linuxkit/ca-certificates:256f1950df59f2f209e9f0b81374177409eb11de
onboot:
- name: sysctl
image: linuxkit/sysctl:5f56434b81004b50b47ed629b222619168c2bcdf
image: linuxkit/sysctl:43ac1d39da329c3567fcb9689e5ca99de6d169b6
- name: dhcpcd
image: linuxkit/dhcpcd:157df9ef45a035f1542ec2270e374f18efef98a5
image: linuxkit/dhcpcd:b87e9ececac55a65eaa592f4dd8b4e0c3009afdb
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
onshutdown:
- name: shutdown
@@ -18,11 +18,11 @@ onshutdown:
command: ["/bin/echo", "so long and thanks for all the fish"]
services:
- name: getty
image: linuxkit/getty:05eca453695984a69617f1f1f0bcdae7f7032967
image: linuxkit/getty:a86d74c8f89be8956330c3b115b0b1f2e09ef6e0
env:
- INSECURE=true
- name: rngd
image: linuxkit/rngd:1a18f2149e42a0a1cb9e7d37608a494342c26032
image: linuxkit/rngd:984eb580ecb63986f07f626b61692a97aacd7198
- name: nginx
image: nginx:1.19.5-alpine
capabilities:

View File

@@ -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 apk add --no-cache --initdb -p /out \
@@ -6,7 +6,7 @@ RUN apk add --no-cache --initdb -p /out \
busybox
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror2
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror2
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \
acpid

View File

@@ -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 apk add --initdb -p /out alpine-baselayout apk-tools audit busybox tini

View File

@@ -1,15 +1,8 @@
# Use Debian testing Qemu 4.2.0 until https://bugs.alpinelinux.org/issues/8131 is resolved.
FROM debian@sha256:d828cca5497a2519da9c6d42372066895fa28a69f1e8a46a38ce8f750bd2adf0 AS qemu
RUN apt-get update && apt-get install -y qemu-user-static && \
mv /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64 && \
mv /usr/bin/qemu-arm-static /usr/bin/qemu-arm && \
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
# Use Debian testing-slim Qemu 4.2.0 until https://bugs.alpinelinux.org/issues/8131 is resolved.
FROM debian@sha256:80381085775a6e69f0f8d09dd9a39495063e348382eb8d4881ba6f142d24b8ab AS qemu
RUN apt-get update && apt-get install -y qemu-user-static
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@@ -1,4 +1,4 @@
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --update \
bison \
build-base \

View File

@@ -1,4 +1,4 @@
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 as alpine
RUN apk add ca-certificates

View File

@@ -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
# Hack to work around an issue with go on arm64 requiring gcc
@@ -21,7 +21,7 @@ RUN mkdir -p /go/src/${GITBASE} \
&& mv _output/cadvisor /usr/bin/
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \

View File

@@ -1,10 +1,10 @@
# 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 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
ENTRYPOINT []

View File

@@ -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 apk add --no-cache --initdb -p /out \
alpine-baselayout \

View File

@@ -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 apk add --no-cache --initdb -p /out \
alpine-baselayout \

View File

@@ -1,4 +1,4 @@
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --no-cache --initdb make
FROM scratch

View File

@@ -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 apk add --no-cache --initdb -p /out \
@@ -15,7 +15,7 @@ RUN apk add --no-cache --initdb -p /out \
&& true
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@@ -1,4 +1,4 @@
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --no-cache git
# Make sure you also update the FW_COMMIT in ../firmware/Dockerfile

View File

@@ -1,7 +1,7 @@
# 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
# Clone the firmware repository

View File

@@ -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 apk add --no-cache --initdb -p /out \
@@ -15,7 +15,7 @@ RUN apk add --no-cache --initdb -p /out \
&& true
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --no-cache go musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@@ -1,5 +1,5 @@
# 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 apk add --no-cache --initdb -p /out \

View File

@@ -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
ENV GOPATH=/go PATH=$PATH:/go/bin

View File

@@ -1,6 +1,6 @@
# Dockerfile to build linuxkit/init for linuxkit
FROM linuxkit/containerd-dev:fb4bf37a114ce1eb8a2c4ed3db91a50301805e2c AS containerd-dev
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/containerd-dev:3cb13cb53e9901cd9e8a8c087e4599b9bdbe8931 AS containerd-dev
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --no-cache --initdb alpine-baselayout make gcc musl-dev git linux-headers
ADD usermode-helper.c ./
@@ -27,7 +27,7 @@ RUN go-compile.sh /go/src/cmd/service
# volumes link to start
RUN mkdir -p /etc/init.d && ln -s /usr/bin/service /etc/init.d/005-volumes
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out alpine-baselayout busybox musl

View File

@@ -1,4 +1,4 @@
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add curl
RUN apk add --no-cache --initdb -p /out \

View File

@@ -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
ARG GOPKGVERSION

View File

@@ -1,4 +1,4 @@
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --no-cache go musl-dev
ARG GOPKGVERSION

View File

@@ -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 apk add --no-cache --initdb -p /out \
alpine-baselayout \

View File

@@ -1,5 +1,5 @@
# 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
ARG GOPKGVERSION
@@ -22,5 +22,3 @@ COPY --from=build /go/bin/logread usr/bin/logread
COPY --from=build /go/bin/logwrite usr/bin/logwrite
# We'll start from init.d
COPY etc/ /etc/
COPY --from=build /etc/apk /etc/apk/
COPY --from=build /lib/apk /lib/apk/

View File

@@ -1,3 +1,4 @@
image: memlogd
binds:
config:
binds:
- /var/run:/var/run

View File

@@ -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
ARG GOPKGVERSION

View File

@@ -43,7 +43,7 @@ func (p *ProviderScaleway) Probe() bool {
// Getting the conf should always work...
_, err := scalewayGet(scalewayMetadataURL + "conf")
if err != nil {
log.Printf(err.Error())
log.Print(err.Error())
return false
}

View File

@@ -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 apk add --no-cache --initdb -p /out \

View File

@@ -1,5 +1,5 @@
# 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 apk add --no-cache --initdb -p /out \

View File

@@ -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 apk add --no-cache --initdb -p /out \
@@ -9,7 +9,7 @@ RUN apk add --no-cache --initdb -p /out \
&& true
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS build
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS build
RUN apk add --no-cache go musl-dev
ARG GOPKGVERSION

View File

@@ -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

View File

@@ -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 apk add --no-cache --initdb -p /out \
alpine-baselayout \

View File

@@ -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 apk add --no-cache --initdb -p /out \

View File

@@ -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 apk add --no-cache --initdb -p /out alpine-baselayout busybox musl
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache

View File

@@ -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/var/run
RUN apk add --no-cache --initdb -p /out \

View File

@@ -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
ARG GOPKGVERSION

View File

@@ -1,5 +1,5 @@
# Dockerfile to build linuxkit/runc for linuxkit
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a as alpine
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 as alpine
RUN \
apk add \
bash \
@@ -12,8 +12,8 @@ RUN \
linux-headers \
make \
&& true
ENV GOPATH=/go PATH=$PATH:/go/bin GO111MODULE=off
ENV RUNC_COMMIT=v1.1.12
ENV GOPATH=/go PATH=$PATH:/go/bin
ENV RUNC_COMMIT=v1.3.3
RUN mkdir -p $GOPATH/src/github.com/opencontainers && \
cd $GOPATH/src/github.com/opencontainers && \
git clone https://github.com/opencontainers/runc.git
@@ -31,5 +31,3 @@ ENTRYPOINT []
COPY --from=alpine /usr/bin/runc /usr/bin/
COPY --from=alpine /etc/init.d/ /etc/init.d/
COPY --from=alpine /etc/shutdown.d/ /etc/shutdown.d/
COPY --from=alpine /etc/apk /etc/apk/
COPY --from=alpine /lib/apk /lib/apk/

View File

@@ -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 apk add --no-cache --initdb -p /out \

View File

@@ -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 apk add --no-cache --initdb -p /out \

View File

@@ -1,5 +1,5 @@
# 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
ARG GOPKGVERSION
@@ -17,6 +17,4 @@ CMD []
WORKDIR /
COPY --from=mirror /go/bin/sysctl /usr/bin/sysctl
COPY etc/ /etc/
COPY --from=mirror /etc/apk /etc/apk/
COPY --from=mirror /lib/apk /lib/apk/
CMD ["/usr/bin/sysctl"]

View File

@@ -1,4 +1,4 @@
FROM linuxkit/alpine:35b33c6b03c40e51046c3b053dd131a68a26c37a AS mirror
FROM linuxkit/alpine:7f3944798557de5518a56e3437d7ed982701f224 AS mirror
RUN apk add --no-cache go musl-dev
ARG GOPKGVERSION

View File

@@ -1,5 +1,5 @@
# We need the `fstrim` binary:
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 apk add --no-cache --initdb -p /out \
alpine-baselayout \

Some files were not shown because too many files have changed in this diff Show More