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
commit faef75dafd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 cat << EOL > /tmp/initcontainers
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "alpine:3.20" image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command: command:
- chmod - chmod
- "777" - "777"
@ -81,7 +81,7 @@ EOL
cat << EOL > /tmp/initcontainers.database cat << EOL > /tmp/initcontainers.database
initContainers: initContainers:
- name: init-subpath - name: init-subpath
image: "alpine:3.20" image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command: command:
- mkdir - mkdir
- "-p" - "-p"
@ -94,7 +94,7 @@ EOL
cat << EOL > /tmp/initcontainers.clamav cat << EOL > /tmp/initcontainers.clamav
initContainers: initContainers:
- name: init-subpath - name: init-subpath
image: "alpine:3.20" image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command: command:
- mkdir - mkdir
- "-p" - "-p"
@ -108,7 +108,7 @@ cat << EOL > /tmp/initcontainers.nextcloud
# AIO settings start # Do not remove or change this line! # AIO settings start # Do not remove or change this line!
initContainers: initContainers:
- name: init-volumes - name: init-volumes
image: "alpine:3.20" image: "ghcr.io/nextcloud-releases/alpine:$DOCKER_TAG"
command: command:
- chmod - chmod
- "777" - "777"