1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-16 20:54:50 +00:00
terraform-playground/kind/nginx.apko.yaml
Jason Hall 4046cf2fc0
kind: demo apko+kind+helm
Signed-off-by: Jason Hall <jason@chainguard.dev>
2023-06-03 12:32:16 -04:00

58 lines
1.4 KiB
YAML

contents:
repositories:
- https://packages.wolfi.dev/os
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
packages:
- ca-certificates-bundle
- wolfi-baselayout
- nginx
- nginx-package-config
accounts:
groups:
- groupname: nginx
gid: 65532
users:
- username: nginx
uid: 65532
gid: 65532
run-as: 65532
paths:
- path: /var/lib/nginx
type: directory
uid: 65532
gid: 65532
permissions: 0o755
recursive: true
- path: /var/lib/nginx/tmp
uid: 65532
gid: 65532
type: directory
# Wide permissions required for running with tmpfs. Seems to be related to Docker bug https://github.com/moby/moby/issues/40881
permissions: 0o777
recursive: true
- path: /var/run
uid: 65532
gid: 65532
type: directory
# Wide permissions required for running with tmpfs. Seems to be related to Docker bug https://github.com/moby/moby/issues/40881
permissions: 0o777
recursive: false
entrypoint:
command: /usr/sbin/nginx
cmd: -c /etc/nginx/nginx.conf -e /dev/stderr -g "daemon off;"
stop-signal: SIGQUIT
archs:
- x86_64
- aarch64
annotations:
"org.opencontainers.image.authors": "Chainguard Team https://www.chainguard.dev/"
"org.opencontainers.image.url": https://edu.chainguard.dev/chainguard/chainguard-images/reference/nginx/
"org.opencontainers.image.source": https://github.com/chainguard-images/images/tree/main/images/nginx