50 Commits

Author SHA1 Message Date
cyqsimon
2f01c38146 feat: install shell completions 2026-02-11 20:23:39 +01:00
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
cyqsimon
014c576535 Install systemd unit files to /usr/local/lib/systemd instead (#124)
* Tidy up install & uninstall script

- Also fixed a minor mistake in the uninstall script:
  `podman-system-generator` -> `podman-*-generator`

* Install systemd files to `/usr/local/`

* Force bash shell in `Makefile` to allow brace expansion
2025-03-27 22:58:49 +01: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
Denis Baryshev
9fe466c83b chore: support single arch tar build (#113)
* chore: add single arch support

Signed-off-by: Denis Baryshev <dennybaa@gmail.com>

* chore: fix singlearch build

Signed-off-by: Denis Baryshev <dennybaa@gmail.com>

---------

Signed-off-by: Denis Baryshev <dennybaa@gmail.com>
2025-02-02 18:26:35 +01:00
Max Goltzsche
05d6121b56 fix: bump podman 5.2.3 + dependency upgrade (#104)
upgrades:
* podman 5.2.3
* crun 1.17
* netavark 1.12.2
* aardvark-dns 1.12.2
* passt/pasta 2024_09_06.6b38f07
2024-09-25 22:00:03 +02:00
Karsten Ohme
e8116dd418 added podman services 2024-08-16 16:28:31 +02:00
Max Goltzsche
84f15d2a10 feat: add seccomp.json file
Closes #86
2024-06-18 01:00:29 +02:00
Max Goltzsche
6923ab5fdd fix: add binaries to tar archive again
reverting part of #87
2024-06-18 00:26:36 +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
Matthew Cengia
a7fe0981d0 feat: upgrade to podman 5.0.0 (#87)
* Upgrade to podman 5
* Include netavark and pasta binaries (new podman network stack and CNI replacement)
* Makefile: Don't access image dir directly for copy out
2024-06-07 03:06:49 +02:00
Max Goltzsche
d3dccd2bff feat: bump podman 4.6.0, update dependencies
* libfuse 3.15.1
* crun 1.8.6
* alpine:3.18

Closes #64
2023-08-06 18:39:25 +02:00
Max Goltzsche
c909610885 fix: tar packaging / podman-restart service copy 2023-04-08 01:47:05 +02:00
Max Goltzsche
f82c88fb03 feat: add podman-restart systemd service 2023-04-08 00:59:45 +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
Bala Raman
059b8d1513 Podman 4.2.0 update
Signed-off-by: Bala Raman <srbala@gmail.com>
2022-08-17 16:49:56 +02:00
Max Goltzsche
18b2175682 chore: use multiarch/qemu-user-static:7.0.0-7 2022-06-24 00:53:17 +02:00
Max Goltzsche
ca8b3e0cfd update to podman 4.1.1
updated dependencies:
* conmon 2.1.2
* libslirp 4.7.0
* slirp4netns 1.2.0
* fuse-overlayfs 1.9
* golang 1.18
* alpine 3.15
* bats 1.7.0
2022-06-22 23:44:23 +02:00
Max Goltzsche
6be47d0e7e update to podman 4.1.0
updated dependencies:
* runc 1.1.1
* crun 1.4.5
* fuse 3.11.0

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
2022-05-08 01:24:21 +02:00
Max Goltzsche
b4b58f5842 update to podman v4.0.2.
updated dependencies:
* runc v1.1.0
* crun 1.4.4
* conmon v2.1.0
* CNI plugins v1.1.1
* fuse-overlayfs v1.8.2

also adds new rootlessport binary.

Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
2022-03-26 01:55:38 +01:00
Bala Raman
ef04c73da1 Update crun and multiarch
Signed-off-by: Bala Raman <srbala@gmail.com>
2021-11-06 21:25:17 +01:00
Max Goltzsche
845d54e92a fix(release): Push images to gh and dh separately.
Apparently docker/buildx cannot push an image to multiple repos at once.
2021-09-25 22:53:23 +02:00
Max Goltzsche
f34a5cccc9 another release fix attempt.
* initialize and check buildx builder first.
* disable push to GitHub container registry for now.
2021-09-25 21:47:43 +02:00
Max Goltzsche
2cd5e18e0d fix docker auth using newer buildkit version.
See https://github.com/docker/buildx/issues/327
2021-09-25 05:09:10 +02:00
Max Goltzsche
13afc3095b fix docker authentication 2021-09-25 03:22:38 +02:00
Max Goltzsche
b6603ab359 fix release workflow.
* use gh action to setup qemu.
* make gpg the first stage of the Dockerfile. This is to avoid having to rebuild any other stage.
* use `docker buildx build` also to build the local gpg image in order to share the cache.
2021-09-25 00:57:37 +02:00
Max Goltzsche
1a9e3b6c74 add support for linux/arm64/v8 2021-09-24 23:48:38 +02:00
Bala Raman
60b445b700 Fix to #23, adding --depth=1 option
Signed-off-by: Bala Raman <srbala@gmail.com>
2021-09-08 20:59:36 -04:00
Bala Raman
ff8417791f Update podman version to 3.3.1
Signed-off-by: Bala Raman <srbala@gmail.com>
2021-09-07 12:03:55 -04: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
PhracturedBlue
d1656aa6e2 Use /usr/local/lib instead of /usr/libexec
Signed-off-by: PhracturedBlue <rc2012@pblue.org>
2021-08-20 02:38:54 +02:00
Bala Raman
3d01e47ea9 Update Makefile 2021-07-01 10:35:15 -04:00
Max Goltzsche
bbf4517b30 Upgrade to podman 3.2.2.
Also upgrades:
* runc to 1.0.0
* libslirp to 4.6.1
* fuse-overlayfs to 1.6

Additional changes:
* Enables podman-remote tests again.
* Uses ubuntu gpg keyservers for now because sks servers are down and keys.openpgp.org does not provide a user ID with the key which makes gpg fail.
2021-06-27 22:47:58 +02:00
Max Goltzsche
1e9cf4bc85 podman-remote 3.2.1, crun 0.20.1, libfuse 3.10.4.
This is a follow-up of #10 to
* bump the podman-remote version as well
* update crun and libfuse
* disable podman-remote tests for now due to a podman bug
2021-06-19 23:04:30 +02:00
Schölzel, Markus
5c217c2f6b Remove seccomp.json
Upstream change https://github.com/containers/common/pull/604.
2021-06-15 12:43:15 +02:00
Max Goltzsche
a8b41ffed4 add default seccomp.json to tar.
Applying the image fix of #9 to the tar release as well in order to work around containers/podman#10556.
2021-06-05 00:10:24 +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
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
b1442ad3ef Fix build when run by podman.
libfuse installer had to be prevented from creating /dev/fuse which is not allowed within unprivileged podman
2020-12-26 00:37:39 +01:00
Max Goltzsche
37ace76959 Disable podman-based build since it doesn't work 2020-12-25 23:13:02 +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
f0093d8f5c Add ssh experiment 2020-08-09 19:51:31 +02:00
Max Goltzsche
fa727fe47d Add podman-remote Dockerfile 2020-08-08 19:38:56 +02:00
Max Goltzsche
dea2e0b487 Add Makefile 2020-08-08 02:11:55 +02:00