* Update linuxkit/alpine 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> * tests: Update packages to the latest linuxkit/alpine 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> --------- Signed-off-by: Avi Deitcher <avi@deitcher.net> |
||
---|---|---|
.. | ||
Dockerfile | ||
go-compile.sh | ||
iucode-tool.patch | ||
Makefile | ||
packages | ||
packages.aarch64 | ||
packages.riscv64 | ||
packages.s390x | ||
packages.x86_64 | ||
push-manifest.sh | ||
README.md | ||
versions.aarch64 | ||
versions.riscv64 | ||
versions.s390x | ||
versions.x86_64 |
LinuxKit Alpine
linuxkit/alpine
is the base image for almost all other packages built by linuxkit, including builders, tools and actual container images
that are used in various parts of linuxkit yaml files.
This provides a reliable, consistent and repetable build.
This directory contains the source of linuxkit/alpine
.
Building
To build, run:
make build
Pushing
To push, run:
make push
For a proper release process, see docs/releasing.md.
Updating Sources and Packages
The base build for linuxkit/alpine
is library/alpine. The specific version is set in two FROM
lines in
the Dockerfile in this directory.
The packages installed come from several sources:
- packages - this file contains the list of packages to mirror locally in
linuxkit/alpine
, and will be available to all downstream users oflinuxkit/alpine
. These are installed using the defaultapk
package version for the specific version of alpine. For example, if the line starts withFROM alpine:3.13
andpackages
containsfile
, then it will run simplyapk add file
. The packages listed in packages are installed on all architectures. packages.<arch>
- these files contain the list of packages to mirror locally inlinuxkit/alpine
, likepackages
, but only for the specified architecture. For example, packages.x86_64 contains packages to be installed only onlinuxkit/alpine
forx84_64
.packages.repo.<name>
- these files contain the list of packages to mirror locally inlinuxkit/alpine
, likepackages
, but to pull those packages from the provided<name>
of Alpine'sapk
repo. For example,packages.repo.edge
installs packages from Alpine'sedge
package repository.packages.<arch>.repo.<name>
- these files contain the list of packages to mirror locally inlinuxkit/alpine
for a specific architecture, likepackages.<arch>
, but to pull those packages from the provided<name>
of Alpine'sapk
repor. For example,packages.x86_64.repo.edge
installs packages from Alpine'sedge
package repository, hut only when building for86_64
.
In addition, the Dockerfile may install certain packages directly from source, if they are not available in the apk
repositories, or the versions are
insufficient.
The final versions of packages installed are available in versions.<arch>
.