From a4caab687d9cf2fe8fb42794382d2fe6726d2217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Tue, 26 Nov 2024 15:48:45 +0100 Subject: [PATCH] Use podman rather than docker --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e9b8ad7..5e3203f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Currently, this includes [Dangerzone](https://dangerzone.rocks/). ## Prerequisites - [git-lfs](https://git-lfs.github.com/) to store large files. -- Docker, to build use the proper version of [reprepro](https://salsa.debian.org/brlink/reprepro), that we are using under the hood. +- Podman, to build use the proper version of [reprepro](https://salsa.debian.org/brlink/reprepro), that we are using under the hood. ## Installation @@ -15,7 +15,7 @@ First, set up a machine with the GPG key used for signing Release files. Then, build a container image using the `Dockerfile` in this repo: ``` -docker build -t apt-tools-prod-builder . +podman build -t apt-tools-prod-builder . ``` ## Usage @@ -38,8 +38,9 @@ scratch. - Then, you can run `./tools/publish`, to populate the Debian database. * This is the command to run to do this inside the container: - ``` - docker run --rm -v .:/home/user/apt-tools-prod apt-tools-prod-builder ./tools/publish + ```bash + + podman run --rm --userns=keep-id --volume=".:/home/user/apt-tools-prod" apt-tools-prod-builder ./tools/publish ``` - Run `./tools/publish --sign` to sign the release files. This part must run