This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Commit 6c9901c
committed
Support Podman out of the box
While it was already possible to use podman by setting the DOCKER_CMD
env var, this was not enough for most commands.
This commit adds support for Podman out of the box. If Docker is
installed, it will be preferred over Podman to stay
backwards-compatible.
The `--userns=keep-id` flag is required on Podman to ensure that 1.) the
process in the container can write to the mounted workdirs, and 2.)
ensure files created by processes in the container have the correct
owner
and group IDs: The ones from the user running the Make tasks.
Signed-off-by: Manuel Hutter <manuel@hutter.io>1 parent 572ec66 commit 6c9901c
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
0 commit comments