aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: c540d73d7857c092394ed923c1ccb1d708702b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# podman docker image builder

This image can build container images from a Dockerfile.
It uses centos 8 with podman.

## using the image

Simply use registry.gitlab.com/kraxel/podman-docker-builder:latest
instead of docker:latest in your .gitlab-ci.yml file.  dind
(docker-in-docker) is not needed and can be dropped.  All your
docker commands are automatically redirected to podman, so there
is no need to change them all.

## compatibility

The usual build workflow with pull / build / tag / push docker
commands should work just fine.  There isn't a docker daemon
running though.

## template

There is a template in this repo which you can use via include in
.gitlab-ci.yml:

```
include:
  - project: 'kraxel/podman-docker-builder'
    file: 'gitlab-ci-template.yml'
```