Skip to content

Commit ec446da

Browse files
authored
Merge pull request #446 from linuxserver/master-3.20
Rebase to 3.20 (master)
2 parents ee0f0ba + 14ed393 commit ec446da

7 files changed

Lines changed: 20 additions & 37 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.19
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.20
44

55
# set version label
66
ARG BUILD_DATE
@@ -39,6 +39,7 @@ RUN \
3939
php83-pdo_pgsql \
4040
php83-pdo_sqlite \
4141
php83-pecl-imagick \
42+
php83-pecl-mcrypt \
4243
php83-pecl-memcached \
4344
php83-pecl-smbclient \
4445
php83-pgsql \
@@ -52,8 +53,6 @@ RUN \
5253
samba-client \
5354
util-linux \
5455
sudo && \
55-
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
56-
php83-pecl-mcrypt && \
5756
echo "**** configure php-fpm to pass env vars ****" && \
5857
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php83/php-fpm.d/www.conf && \
5958
grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && \
@@ -97,6 +96,7 @@ RUN \
9796
rm -rf /app/www/src/updater && \
9897
mkdir -p /app/www/src/data && \
9998
chmod +x /app/www/src/occ && \
99+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
100100
echo "**** cleanup ****" && \
101101
rm -rf \
102102
/tmp/*

Dockerfile.aarch64

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.19
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.20
44

55
# set version label
66
ARG BUILD_DATE
@@ -39,6 +39,7 @@ RUN \
3939
php83-pdo_pgsql \
4040
php83-pdo_sqlite \
4141
php83-pecl-imagick \
42+
php83-pecl-mcrypt \
4243
php83-pecl-memcached \
4344
php83-pecl-smbclient \
4445
php83-pgsql \
@@ -52,8 +53,6 @@ RUN \
5253
samba-client \
5354
util-linux \
5455
sudo && \
55-
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
56-
php83-pecl-mcrypt && \
5756
echo "**** configure php-fpm to pass env vars ****" && \
5857
sed -E -i 's/^;?clear_env ?=.*$/clear_env = no/g' /etc/php83/php-fpm.d/www.conf && \
5958
grep -qxF 'clear_env = no' /etc/php83/php-fpm.d/www.conf || echo 'clear_env = no' >> /etc/php83/php-fpm.d/www.conf && \
@@ -97,6 +96,7 @@ RUN \
9796
rm -rf /app/www/src/updater && \
9897
mkdir -p /app/www/src/data && \
9998
chmod +x /app/www/src/occ && \
99+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
100100
echo "**** cleanup ****" && \
101101
rm -rf \
102102
/tmp/*

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ pipeline {
3131
CI_PORT='443'
3232
CI_SSL='true'
3333
CI_DELAY='120'
34-
CI_DOCKERENV='TZ=US/Pacific'
35-
CI_AUTH='user:password'
34+
CI_DOCKERENV=''
35+
CI_AUTH=''
3636
CI_WEBPATH=''
3737
}
3838
stages {

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ In order to enable HEIC image preview generation you will need to add the follow
110110
),
111111
```
112112

113-
You may need to log out and back in for the changes to come in to effect.
113+
You may need to log out and back in for the changes to come in to effect.
114114

115115
This fix was sourced from [Nextcloud Documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#enabledpreviewproviders)
116116

117-
Nextcloud state that HEIC preview is disabled by default due to performance or privacy concerns, so enable this at your own risk.
117+
Nextcloud state that HEIC preview is disabled by default due to performance or privacy concerns, so enable this at your own risk.
118118

119119
### Custom App Directories
120120

@@ -345,6 +345,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
345345

346346
## Versions
347347

348+
* **24.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
348349
* **19.05.24:** - Added util-linux package required for taskset.
349350
* **10.04.24:** - Added imagemagick-pdf.
350351
* **05.04.24:** - Added imagemagick-heic. Manual update to `config.php` required - see above.

jenkins-vars.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ custom_version_command: "curl -sX GET https://api.github.com/repos/nextcloud/ser
77
release_type: stable
88
release_tag: latest
99
ls_branch: master
10-
build_armhf: false
1110
repo_vars:
1211
- BUILD_VERSION_ARG = 'NEXTCLOUD_RELEASE'
1312
- LS_USER = 'linuxserver'
@@ -23,6 +22,6 @@ repo_vars:
2322
- CI_PORT='443'
2423
- CI_SSL='true'
2524
- CI_DELAY='120'
26-
- CI_DOCKERENV='TZ=US/Pacific'
27-
- CI_AUTH='user:password'
25+
- CI_DOCKERENV=''
26+
- CI_AUTH=''
2827
- CI_WEBPATH=''

readme-vars.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ project_blurb: |
99
1010
Where are your photos and documents? With Nextcloud you pick a server of your choice, at home, in a data center or at a provider. And that is where your files will be. Nextcloud runs on that server, protecting your data and giving you access from your desktop or mobile devices. Through Nextcloud you also access, sync and share your existing data on that FTP drive at the office, a Dropbox or a NAS you have at home.
1111
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
12-
project_blurb_optional_extras_enabled: false
1312

1413
# supported architectures
1514
available_architectures:
@@ -25,27 +24,13 @@ development_versions_items:
2524
# container parameters
2625
common_param_env_vars_enabled: true
2726
param_container_name: "{{ project_name }}"
28-
param_usage_include_net: false
29-
param_usage_include_env: true
30-
param_env_vars:
31-
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
3227
param_usage_include_vols: true
3328
param_volumes:
3429
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" }
3530
- { vol_path: "/data", vol_host_path: "/path/to/data", desc: "Your personal data." }
3631
param_usage_include_ports: true
3732
param_ports:
3833
- { external_port: "443", internal_port: "443", port_desc: "WebUI" }
39-
param_device_map: false
40-
cap_add_param: false
41-
42-
# optional container parameters
43-
opt_param_usage_include_env: false
44-
opt_param_usage_include_vols: false
45-
opt_param_usage_include_ports: false
46-
opt_param_device_map: false
47-
opt_cap_add_param: false
48-
optional_block_1: false
4934

5035
# application setup block
5136
app_setup_block_enabled: true
@@ -90,11 +75,11 @@ app_setup_block: |
9075
),
9176
```
9277
93-
You may need to log out and back in for the changes to come in to effect.
94-
78+
You may need to log out and back in for the changes to come in to effect.
79+
9580
This fix was sourced from [Nextcloud Documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#enabledpreviewproviders)
9681
97-
Nextcloud state that HEIC preview is disabled by default due to performance or privacy concerns, so enable this at your own risk.
82+
Nextcloud state that HEIC preview is disabled by default due to performance or privacy concerns, so enable this at your own risk.
9883
9984
### Custom App Directories
10085
@@ -109,6 +94,7 @@ app_setup_block: |
10994
11095
# changelog
11196
changelogs:
97+
- { date: "24.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
11298
- { date: "19.05.24:", desc: "Added util-linux package required for taskset."}
11399
- { date: "10.04.24:", desc: "Added imagemagick-pdf."}
114100
- { date: "05.04.24:", desc: "Added imagemagick-heic. Manual update to `config.php` required - see above."}

root/defaults/nginx/site-confs/default.conf.sample

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2024/04/02 - Changelog: https://github.com/linuxserver/docker-nextcloud/commits/master/root/defaults/nginx/site-confs/default.conf.sample
1+
## Version 2024/06/24 - Changelog: https://github.com/linuxserver/docker-nextcloud/commits/master/root/defaults/nginx/site-confs/default.conf.sample
22

33
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
44
map $arg_v $asset_immutable {
@@ -7,11 +7,8 @@ map $arg_v $asset_immutable {
77
}
88

99
server {
10-
listen 80 default_server;
11-
listen [::]:80 default_server;
12-
13-
listen 443 ssl http2 default_server;
14-
listen [::]:443 ssl http2 default_server;
10+
listen *:80 default_server;
11+
listen *:443 ssl default_server;
1512

1613
server_name _;
1714

0 commit comments

Comments
 (0)