процесс сборки образов image-forge https://github.com/alt-cloud/image-forge
Go to file
2024-09-27 16:55:49 +03:00
.gitea/workflows add o=publish script, add rework to full wf 2024-09-27 16:55:49 +03:00
org fix from-path in dockerfiles 2024-05-24 17:28:59 +03:00
.gitignore Initial commit 2022-06-13 00:21:48 +03:00
build.py Обновить build.py 2024-05-23 15:44:35 +03:00
distroless-example.toml Add distoless example 2023-02-16 03:27:07 +03:00
images-info.toml Skip building alt/buildpack-deps and alt/node on p9 2023-09-30 04:24:16 +03:00
LICENSE Update LICENSE 2023-02-16 03:27:07 +03:00
README.md docs: add dependencies information to the readme 2023-11-01 14:49:05 +03:00
tags.toml update tags for k8s 2024-04-23 17:43:14 +03:00
tasks.toml chore: update tasks.toml 2023-07-18 14:32:29 +03:00

image-forge

alt images

To build alt images, run:

./build.py -o alt

k8s images

To build k8s images for branch p10 and push to repository test_k8s, run:

./build.py -o k8s -b p10 --overwrite-organization test_k8s --tasks tasks.json --tags tags.json

distroless-images

create

To create distroless image copy one of existing org/alt/distroless-* images. Or create directory and copy distroless-example.toml to it, rename file to distroless.toml and edit.

build

For example if created image alt/distroless-false and you want to push to the organization <ORGANIZATION>, run:

./build.py -i alt/distroless-false --overwrite-organization <ORGANIZATION>

If you push to the users repository, then organiztion is your username.

Dependencies

On x86_64 machine using p10 branch you need:

  • python3-module-tomli
  • qemu-user-static-binfmt-aarch64 to build for arm64 architecture
  • qemu-user-static-binfmt-arm to build for arm architecture
  • qemu-user-static-binfmt-ppc to build for ppc64le architecture