21 Commits

Author SHA1 Message Date
Max Goltzsche
9ccf992536 fix: bump podman 5.5.2 + dependency updates
* podman 5.5.2
* passt 2025_06_11.0293c6f
* alpine 3.22 base image
* Go-based binaries built using Go 1.24
* Rust-based binaries built using Rust 1.87
2025-06-25 02:45:05 +02:00
Max Goltzsche
42d5e903f2 fix: don't publish quadlet with image but with tar
Add a separate stage to the Dockerfile to build the root file system of the tar archive and make the tar targets within the Makefile build that stage.

Relates to #120
2025-03-14 02:58:32 +01:00
V
71922828f8 Add quadlet (#119)
Add quadlet binary and register it as systemd unit generator.
When the tar archive is installed on a systemd-enabled host, the quadlet is called by systemd on `systemctl daemon-reload` to generate unit files based on *.container files within `/etc/containers/systemd`.

The quadlet binary is not contained within the minimal image (because it is actually meant to be published with the tar archive only since systemd is not used inside the container).
2025-03-13 03:09:45 +01:00
Max Goltzsche
a4307e337e feat: upgrade podman 5.2.1
Dependency upgrades:
* podman 5.2.1
* crun 1.16.1
* netavark 1.12.1
* aardvark 1.12.1
* alpine 3.20 base image
2024-08-14 22:49:26 +02:00
Max Goltzsche
75f5141513 fix: upgrade podman 5.1.1, drop CNI support
* podman 5.1.1
* drop CNI networking and slirp4netns in favour of netavark + pasta
* build statically linked netavark, pasta and aardvark
* conmon 2.1.11
* crun 1.15
* crun is also shipped with the normal (non-minimal) image now.
* build using golang 1.22, use alpine 3.19 base container

Co-authored-by: Trent Apple <trentapple@users.noreply.github.com>
2024-06-16 23:24:14 +02:00
Max Goltzsche
b51c27495d fix: configure infra_image by default
Closes #54
2023-03-21 02:40:29 +01:00
Max Goltzsche
8118e8daa8 update podman 4.4.0 and dependencies
dependency updates:
* alpine:3.17
* conmon 2.1.6
* CNI plugins 1.2.0
* libfuse 3.13.1
* fuse-overlayfs 1.10
* crun 1.8

Also, updated bats to 1.8.2
2023-02-09 04:06:05 +01:00
Max Goltzsche
e5ef42a0fe chore: enable previously disabled test
...since podman now also supports running a rootless container with an unmapped uid/gid.
2023-02-09 03:10:05 +01:00
Max Goltzsche
1a9e3b6c74 add support for linux/arm64/v8 2021-09-24 23:48:38 +02:00
Bala Raman
21b7eec479 Update to alpine and bats versions
Signed-off-by: Bala Raman <srbala@gmail.com>
2021-08-23 11:24:27 -04:00
Max Goltzsche
4241925f7e Migrate tests to bats.
Turns the scripted tests into bats tests.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
2021-08-21 02:51:07 +02:00
Bala Raman
5e5cf8f855 Fix alpine version to keep same as build
Signed-off-by: Bala Raman <srbala@gmail.com>
2021-06-04 09:55:35 -04:00
Max Goltzsche
ed30366a65 Upgrade to podman 3.1.2 2021-05-02 04:04:19 +02:00
Max Goltzsche
c8937e7c00 Downgrade podman dependencies.
because with the latest containers get stuck during initialization and
build caching doesn't work.
2021-02-21 00:45:57 +01:00
Max Goltzsche
2982b99c4d Upgrade to podman 3.0.1, remove gosu 2021-02-20 22:39:20 +01:00
Max Goltzsche
76cb4c494f Support minimal tag, change uid/gid, remove stuff
Changes:
* Builds a `minimal` image (without slirp4netns) instead of `rootless`.
* `podman` uid/gid changed from 100000 to 1000/1000 (to avoid exceeding the sub*id range).
* Default USER is root now.
* No ENTRYPOINT script provided that changes the user when container is run as root.
* The HOME env var is not specified anymore in order to use the home dir specified for the user in /etc/passwd.
* Default WORKDIR has changed from /podman to / since /podman is only relevant when running as `podman` user.
2020-12-25 22:57:19 +01:00
Max Goltzsche
4db3d317eb Fix gh workflow, remove tty requirement from tests 2020-12-24 02:01:45 +01:00
Max Goltzsche
4ba1329988 Build rootless image and export tar archive.
* rootless image contains only binaries needed for rootless operations and crun.
* the tar archive contains all binaries and meant to be used for quick installation on any linux-amd64 host.
2020-12-24 01:12:44 +01:00
Max Goltzsche
9d94f5389f Make home dir agnostic, bump to podman 2.2.1.
Removes unnecessary explicit storage dir configuration.

Additional changes:
* Reorganizes project dir structure.
* Use unprivileged user by default in podman-remote image.
2020-12-21 18:25:21 +01:00
Max Goltzsche
5dbfeea7fd Update to podman 2.1.0 2020-09-25 02:29:49 +02:00
Max Goltzsche
fa727fe47d Add podman-remote Dockerfile 2020-08-08 19:38:56 +02:00