mirror of
https://github.com/kou029w/yama.git
synced 2025-01-18 16:08:11 +00:00
22 lines
658 B
YAML
22 lines
658 B
YAML
services:
|
|
minirootfs:
|
|
image: ghcr.io/kou029w/yama/minirootfs
|
|
volumes:
|
|
- ./cache:/etc/apk/cache
|
|
- ./apkovl/etc/apk/repositories:/etc/apk/repositories
|
|
- ./apkovl/etc/apk/world:/etc/apk/world
|
|
builder:
|
|
image: ghcr.io/kou029w/yama/minirootfs
|
|
volumes:
|
|
- ./cache:/etc/apk/cache
|
|
- ./apkovl/etc/apk/repositories:/etc/apk/repositories
|
|
- ./apkovl/etc/apk/world:/etc/apk/world
|
|
- ./fstab:/etc/fstab
|
|
- ./dist/overlay.img:/overlay.img
|
|
privileged: true
|
|
command: |
|
|
sh -c '
|
|
mkdir -p /mnt/overlay
|
|
mount -a \
|
|
&& apk add g++ linux-headers make nodejs npm python3
|
|
'
|