45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
spec:
|
|
containers:
|
|
- name: build
|
|
image: git.pyrocufflink.net/aimeeos/build/build-aarch64-unknown-linux-gnu
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- |
|
|
trap 'kill $!; exit' TERM
|
|
sleep infinity &
|
|
wait
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- CAP_SETFCAP
|
|
volumeMounts:
|
|
- mountPath: /build
|
|
name: workspace-volume
|
|
subPath: _build
|
|
- mountPath: /mnt/gentoo
|
|
name: workspace-volume
|
|
subPath: gentoo
|
|
- mountPath: /usr/aarch64-unknown-linux-gnu/var/cache/binpkgs
|
|
name: binpkgs
|
|
subPath: photoframe2
|
|
- mountPath: /var/cache/binpkgs
|
|
name: binpkgs
|
|
subPath: photoframe2
|
|
- mountPath: /var/cache/distfiles
|
|
name: workspace-volume
|
|
subPath: distfiles
|
|
- mountPath: /var/db/repos/gentoo
|
|
name: portage
|
|
- mountPath: /var/tmp
|
|
name: workspace-volume
|
|
subPath: tmp
|
|
hostUsers: false
|
|
volumes:
|
|
- name: binpkgs
|
|
persistentVolumeClaim:
|
|
claimName: binpkgs
|
|
- name: portage
|
|
persistentVolumeClaim:
|
|
claimName: portage
|