Skip to content

Commit

Permalink
Use podman rather than docker
Browse files Browse the repository at this point in the history
  • Loading branch information
almet committed Nov 26, 2024
1 parent 958f03c commit a4caab6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a4caab6

Please sign in to comment.