mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-04 17:16:11 +00:00
Compare commits
20 Commits
f194e4b319
...
version-24
Author | SHA1 | Date | |
---|---|---|---|
dd188059ab | |||
055b1f5723 | |||
7726c3f386 | |||
5906c3ea91 | |||
89f2aacb32 | |||
1365e7a046 | |||
49d7a7a469 | |||
183fb4b9df | |||
66f1ca8176 | |||
1a6ce671a6 | |||
49eca961a8 | |||
05f056644a | |||
41b50052f4 | |||
57409ee693 | |||
e850f6a1df | |||
251903fd3d | |||
5ef63c0bb3 | |||
6eb2fac3a4 | |||
4f1e5c1b7f | |||
9c8feeb088 |
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -3,7 +3,7 @@ name: build
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ version-24 ]
|
||||||
schedule:
|
schedule:
|
||||||
# Build the image regularly (each Friday)
|
# Build the image regularly (each Friday)
|
||||||
- cron: '23 04 * * 5'
|
- cron: '23 04 * * 5'
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: sigstore/cosign-installer@main
|
uses: sigstore/cosign-installer@main
|
||||||
with:
|
with:
|
||||||
cosign-release: 'v1.6.0'
|
cosign-release: 'v1.13.1'
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@ -53,7 +53,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
latest
|
|
||||||
${{ env.FULL_VERSION }}
|
${{ env.FULL_VERSION }}
|
||||||
${{ env.MAJOR_VERSION }}
|
${{ env.MAJOR_VERSION }}
|
||||||
|
|
||||||
|
18
Dockerfile
18
Dockerfile
@ -1,17 +1,17 @@
|
|||||||
# -------------- Build-time variables --------------
|
# -------------- Build-time variables --------------
|
||||||
ARG NEXTCLOUD_VERSION=24.0.0
|
ARG NEXTCLOUD_VERSION=24.0.12
|
||||||
ARG PHP_VERSION=8.0
|
ARG PHP_VERSION=8.1
|
||||||
ARG NGINX_VERSION=1.20
|
ARG NGINX_VERSION=1.22
|
||||||
|
|
||||||
ARG ALPINE_VERSION=3.15
|
ARG ALPINE_VERSION=3.17
|
||||||
ARG HARDENED_MALLOC_VERSION=11
|
ARG HARDENED_MALLOC_VERSION=11
|
||||||
ARG SNUFFLEUPAGUS_VERSION=0.7.1
|
ARG SNUFFLEUPAGUS_VERSION=0.8.3
|
||||||
|
|
||||||
ARG UID=1000
|
ARG UID=1000
|
||||||
ARG GID=1000
|
ARG GID=1000
|
||||||
|
|
||||||
# nextcloud-24.0.0.tar.bz2
|
# nextcloud-24.0.12.tar.bz2
|
||||||
ARG SHA256_SUM="176cb5620f20465fb4759bdf3caaebeb7acff39d6c8630351af9f8738c173780"
|
ARG SHA256_SUM="2f093bdf7d34faf38d22f38a5e11f3aee32746ff4add3df17c790b9b36390836"
|
||||||
|
|
||||||
# Nextcloud Security <security@nextcloud.com> (D75899B9A724937A)
|
# Nextcloud Security <security@nextcloud.com> (D75899B9A724937A)
|
||||||
ARG GPG_FINGERPRINT="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
|
ARG GPG_FINGERPRINT="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
|
||||||
@ -49,7 +49,7 @@ RUN apk -U upgrade \
|
|||||||
libzip \
|
libzip \
|
||||||
libsmbclient \
|
libsmbclient \
|
||||||
openldap \
|
openldap \
|
||||||
libgomp \
|
libgomp \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
zlib \
|
zlib \
|
||||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
|
||||||
@ -126,7 +126,7 @@ ENV UPLOAD_MAX_SIZE=10G \
|
|||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
gnupg \
|
gnupg \
|
||||||
pcre \
|
pcre2 \
|
||||||
s6 \
|
s6 \
|
||||||
&& NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" && cd /tmp \
|
&& NEXTCLOUD_TARBALL="nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" && cd /tmp \
|
||||||
&& wget -q https://download.nextcloud.com/server/releases/${NEXTCLOUD_TARBALL} \
|
&& wget -q https://download.nextcloud.com/server/releases/${NEXTCLOUD_TARBALL} \
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
sp.harden_random.enable();
|
sp.harden_random.enable();
|
||||||
|
|
||||||
# Disabled XXE
|
# Disabled XXE
|
||||||
sp.disable_xxe.enable();
|
sp.xxe_protection.enable();
|
||||||
|
|
||||||
# Global configuration variables
|
# Global configuration variables
|
||||||
# sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS.");
|
# sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS.");
|
||||||
|
Reference in New Issue
Block a user