mirror of
https://github.com/containers/podman-machine-os
synced 2026-07-22 19:53:51 +00:00
No description
- Go 58.8%
- Shell 32.9%
- PowerShell 8.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .fmf | ||
| .github | ||
| custom-coreos-disk-images@12f696dfec | ||
| hack/ci | ||
| plans | ||
| podman-image | ||
| verify | ||
| .gitignore | ||
| .gitmodules | ||
| .packit.yaml | ||
| build.sh | ||
| CODE-OF-CONDUCT.md | ||
| gather.sh | ||
| LICENSE | ||
| MAINTAINERS.md | ||
| podman-rpm-info-vars.sh | ||
| README.md | ||
| tmt-test.sh | ||
| util.sh | ||
podman-machine-os
This repo is for building the disk images for podman machine.
Building the image
Note this repo use git submodules. You must either clone the repo with --recurse-submodules or
run git submodule update --init
./build.sh
Requirements:
- Only runs on Linux as root
curlpodman(rootful)rpm-ostreezstdSELinuxin permissive mode?osbuild,osbuild-tools,osbuild-ostree,jq,xfsprogs,e2fsprogs(custom-coreos-disk-image.sh reqs)koji(only if building podman from a PR)
Environment variables that affect the build:
OUTDIR: folder where the images are generated. The default is./outdir.REPO: container registry repository used when tagging the image. The default isquay.io/podman.
Some environment variables are set in podman-rpm-info-vars.sh:
PODMAN_VERION: used for the image tag (only the x.y, the patch version is ignored)PODMAN_PR_NUM: used to add a podman version from a PR. The default is empty (and rpms will be fetched from therhcontainerbot/podman-nextcopr)
Running the tests
See ./verify/README.md
Requirements
- golang
- ginkgo (
cd ./verify && go install github.com/onsi/ginkgo/v2/ginkgo)