From a31e4380eba9148076d8e4d8a918856fa3845a12 Mon Sep 17 00:00:00 2001 From: LPM Date: Tue, 24 Mar 2026 23:11:58 -0400 Subject: [PATCH 1/4] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ff2ea6..a1af6ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM nextcloud:latest +FROM nextcloud:32.0.6 -ARG VERSION=32 +ARG VERSION=32.0.6 # Update package lists RUN apt-get update From 81877f8d22f0cc2ed5a045843abf22332cebe844 Mon Sep 17 00:00:00 2001 From: LPM Date: Tue, 24 Mar 2026 23:20:57 -0400 Subject: [PATCH 2/4] Update Dockerfile --- Dockerfile | 42 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1af6ca..39a7098 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,44 @@ -FROM nextcloud:32.0.6 +# FROM nextcloud:32.0.6 -ARG VERSION=32.0.6 +# ARG VERSION=32.0.6 + +# # Update package lists +# RUN apt-get update + +# # Install ffmpeg +# RUN apt-get install -y ffmpeg + +# # Install nano +# RUN apt-get install -y nano + +# #Install Node & NPM +# RUN apt-get install -y nodejs npm + +# # list directories +# RUN ls -lh + +FROM nextcloud:32.0.6 +ARG VERSION=32.0.6 + # Update package lists RUN apt-get update - + # Install ffmpeg RUN apt-get install -y ffmpeg - + # Install nano RUN apt-get install -y nano - -#Install Node & NPM + +# Install Node & NPM RUN apt-get install -y nodejs npm - -# list directories + +# Install Java (needed by libresign) +RUN apt-get install -y default-jre-headless + +# Copy the occ hook script — runs on first container start after Nextcloud is ready +COPY init-libresign.sh /docker-entrypoint-hooks.d/post-installation/init-libresign.sh +RUN chmod +x /docker-entrypoint-hooks.d/post-installation/init-libresign.sh + +# List directories (optional debug step) RUN ls -lh From 1ca747ca9c1558e1acbc2cbdc29c4d47c6725866 Mon Sep 17 00:00:00 2001 From: LPM Date: Tue, 24 Mar 2026 23:22:13 -0400 Subject: [PATCH 3/4] Create init-libresign.sh --- init-libresign.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 init-libresign.sh diff --git a/init-libresign.sh b/init-libresign.sh new file mode 100644 index 0000000..0e8e0b7 --- /dev/null +++ b/init-libresign.sh @@ -0,0 +1,7 @@ +#!/bin/bash +set -e + +echo "Running libresign Java install..." +php /var/www/html/occ libresign:install --java +echo "libresign Java install complete." + From 53f51fd46204835a9e7fd7de19d73836d5407f1a Mon Sep 17 00:00:00 2001 From: LPM Date: Tue, 24 Mar 2026 23:23:10 -0400 Subject: [PATCH 4/4] Update build-nextcloud.yml --- .github/workflows/build-nextcloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-nextcloud.yml b/.github/workflows/build-nextcloud.yml index b460126..0d6d165 100644 --- a/.github/workflows/build-nextcloud.yml +++ b/.github/workflows/build-nextcloud.yml @@ -35,7 +35,7 @@ jobs: images: ghcr.io/${{ github.repository }} tags: | type=raw,value=latest - type=raw,value=32 + type=raw,value=32.0.6 type=raw,value=build-${{ github.run_number }} - name: Build and push Docker image