2021-05-13 15:44:34 +02:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
2021-05-13 19:13:19 +02:00
|
|
|
|
|
|
|
# usage: sudo docker-compose run --rm makepkg
|
2021-05-13 15:44:34 +02:00
|
|
|
makepkg:
|
|
|
|
build: .
|
2021-05-13 15:47:51 +02:00
|
|
|
|
|
|
|
## One could build multiple packages with one container,
|
|
|
|
## but I recommend to use a clean container for each package!
|
|
|
|
# command: ["de-p1st-font", "de-p1st-nano", "de-p1st-grub", "de-p1st-installer", "de-p1st-repo"]
|
|
|
|
command: ["de-p1st-font"]
|
|
|
|
|
2021-05-13 15:44:34 +02:00
|
|
|
volumes:
|
|
|
|
- ./pkg:/pkg:ro
|
|
|
|
- ./out:/out
|
|
|
|
|
|
|
|
# interactive
|
|
|
|
stdin_open: true # docker run -i
|
|
|
|
tty: true # docker run -t
|