helm-chart: move alpine init-container image to containers folder

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-03-26 23:38:00 +01:00
parent 25c580bca3
commit 9a9ea694b2
2 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,5 @@
# syntax=docker/dockerfile:latest
FROM alpine:3.21
RUN set -ex; \
apk upgrade --no-cache -a

View file

@ -72,7 +72,7 @@ find ./ -name '*networkpolicy.yaml' -exec sed -i "s|manual-install-nextcloud-aio
cat << EOL > /tmp/initcontainers
initContainers:
- name: init-volumes
image: "alpine:3.20"
image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command:
- chmod
- "777"
@ -81,7 +81,7 @@ EOL
cat << EOL > /tmp/initcontainers.database
initContainers:
- name: init-subpath
image: "alpine:3.20"
image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command:
- mkdir
- "-p"
@ -94,7 +94,7 @@ EOL
cat << EOL > /tmp/initcontainers.clamav
initContainers:
- name: init-subpath
image: "alpine:3.20"
image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command:
- mkdir
- "-p"
@ -108,7 +108,7 @@ cat << EOL > /tmp/initcontainers.nextcloud
# AIO settings start # Do not remove or change this line!
initContainers:
- name: init-volumes
image: "alpine:3.20"
image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command:
- chmod
- "777"