Merge pull request #6236 from nextcloud/enh/noid/create-alpine-image

helm-chart: move alpine init-container image to containers folder
This commit is contained in:
Simon L.
2025-03-31 10:55:43 +02:00
committed by GitHub
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"