Skip to content

Commit cb3c2b9

Browse files
authored
Merge pull request #102 from linuxserver/3.20
Rebase to 3.20
2 parents 80fb638 + 5df120a commit cb3c2b9

File tree

7 files changed

+24
-32
lines changed

7 files changed

+24
-32
lines changed

.github/workflows/external_trigger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_NGINX_MASTER\". ****"
2121
echo "External trigger running off of master branch. To disable this trigger, set a Github secret named \`PAUSE_EXTERNAL_TRIGGER_NGINX_MASTER\`" >> $GITHUB_STEP_SUMMARY
2222
echo "**** Retrieving external version ****"
23-
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
23+
EXT_RELEASE=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2424
&& awk '/^P:'"nginx"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://')
2525
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
2626
echo "**** Can't retrieve external version, exiting ****"
@@ -74,7 +74,7 @@ jobs:
7474
echo "**** Version ${EXT_RELEASE} already pushed, exiting ****"
7575
echo "Version ${EXT_RELEASE} already pushed, exiting" >> $GITHUB_STEP_SUMMARY
7676
exit 0
77-
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"nginx"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
77+
elif [[ $(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz" | tar -xz -C /tmp && awk '/^P:'"nginx"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://') != "${EXT_RELEASE}" ]]; then
7878
echo "**** New version ${EXT_RELEASE} found; but not all arch repos updated yet; exiting ****"
7979
echo "New version ${EXT_RELEASE} found; but not all arch repos updated yet; exiting" >> $GITHUB_STEP_SUMMARY
8080
FAILURE_REASON="New version ${EXT_RELEASE} for nginx tag latest is detected, however not all arch repos are updated yet. Will try again later."

Dockerfile

Lines changed: 4 additions & 4 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
@@ -13,7 +13,7 @@ LABEL maintainer="nemchik"
1313
# install packages
1414
RUN \
1515
if [ -z ${NGINX_VERSION+x} ]; then \
16-
NGINX_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
16+
NGINX_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
1717
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1818
fi && \
1919
apk add --no-cache \
@@ -57,6 +57,7 @@ RUN \
5757
php83-pdo_sqlite \
5858
php83-pear \
5959
php83-pecl-apcu \
60+
php83-pecl-mcrypt \
6061
php83-pecl-memcached \
6162
php83-pecl-redis \
6263
php83-pgsql \
@@ -68,8 +69,7 @@ RUN \
6869
php83-tokenizer \
6970
php83-xmlreader \
7071
php83-xsl && \
71-
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
72-
php83-pecl-mcrypt && \
72+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
7373
rm -f /etc/nginx/conf.d/stream.conf
7474

7575
# ports and volumes

Dockerfile.aarch64

Lines changed: 4 additions & 4 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
@@ -13,7 +13,7 @@ LABEL maintainer="nemchik"
1313
# install packages
1414
RUN \
1515
if [ -z ${NGINX_VERSION+x} ]; then \
16-
NGINX_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
16+
NGINX_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
1717
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1818
fi && \
1919
apk add --no-cache \
@@ -57,6 +57,7 @@ RUN \
5757
php83-pdo_sqlite \
5858
php83-pear \
5959
php83-pecl-apcu \
60+
php83-pecl-mcrypt \
6061
php83-pecl-memcached \
6162
php83-pecl-redis \
6263
php83-pgsql \
@@ -68,8 +69,7 @@ RUN \
6869
php83-tokenizer \
6970
php83-xmlreader \
7071
php83-xsl && \
71-
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
72-
php83-pecl-mcrypt && \
72+
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
7373
rm -f /etc/nginx/conf.d/stream.conf
7474

7575
# ports and volumes

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ pipeline {
2525
DEV_DOCKERHUB_IMAGE = 'lsiodev/nginx'
2626
PR_DOCKERHUB_IMAGE = 'lspipepr/nginx'
2727
DIST_IMAGE = 'alpine'
28-
DIST_TAG = '3.19'
29-
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.19/main/'
28+
DIST_TAG = '3.20'
29+
DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.20/main/'
3030
DIST_REPO_PACKAGES = 'nginx'
3131
MULTIARCH='true'
3232
CI='true'
3333
CI_WEB='true'
3434
CI_PORT='80'
3535
CI_SSL='false'
36-
CI_DELAY='120'
37-
CI_DOCKERENV='TZ=US/Pacific'
36+
CI_DELAY='60'
37+
CI_DOCKERENV=''
3838
CI_AUTH=''
3939
CI_WEBPATH=''
4040
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ The architectures supported by this image are:
5959

6060
## Application Setup
6161

62-
Add your web files to `/config/www` for hosting.
63-
Modify the nginx, php and site config files under `/config` as needed
64-
*Protip: This container is best combined with a sql server, e.g. [mariadb](https://hub.docker.com/r/linuxserver/mariadb/)*
62+
Add your web files to `/config/www` for hosting.
63+
Modify the nginx, php and site config files under `/config` as needed
6564

6665
## Usage
6766

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

277276
## Versions
278277

278+
* **31.05.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
279279
* **05.03.24:** - Rebase to Alpine 3.19 with php 8.3.
280280
* **25.05.23:** - Rebase to Alpine 3.18, deprecate armhf.
281281
* **16.01.23:** - Remove nchan module because it keeps causing crashes.

jenkins-vars.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ external_type: alpine_repo
66
release_type: stable
77
release_tag: latest
88
ls_branch: master
9-
build_armhf: false
109
repo_vars:
1110
- BUILD_VERSION_ARG = 'NGINX_VERSION'
1211
- LS_USER = 'linuxserver'
@@ -16,15 +15,15 @@ repo_vars:
1615
- DEV_DOCKERHUB_IMAGE = 'lsiodev/nginx'
1716
- PR_DOCKERHUB_IMAGE = 'lspipepr/nginx'
1817
- DIST_IMAGE = 'alpine'
19-
- DIST_TAG = '3.19'
20-
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.19/main/'
18+
- DIST_TAG = '3.20'
19+
- DIST_REPO = 'http://dl-cdn.alpinelinux.org/alpine/v3.20/main/'
2120
- DIST_REPO_PACKAGES = 'nginx'
2221
- MULTIARCH='true'
2322
- CI='true'
2423
- CI_WEB='true'
2524
- CI_PORT='80'
2625
- CI_SSL='false'
27-
- CI_DELAY='120'
28-
- CI_DOCKERENV='TZ=US/Pacific'
26+
- CI_DELAY='60'
27+
- CI_DOCKERENV=''
2928
- CI_AUTH=''
3029
- CI_WEBPATH=''

readme-vars.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,16 @@ param_usage_include_ports: true
2222
param_ports:
2323
- { external_port: "80", internal_port: "80", port_desc: "http" }
2424
- { external_port: "443", internal_port: "443", port_desc: "https" }
25-
param_usage_include_env: true
26-
param_env_vars:
27-
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
28-
29-
# optional parameters
30-
optional_block_1: false
31-
optional_block_1_items: ""
3225

3326
# application setup block
3427
app_setup_block_enabled: true
3528
app_setup_block: |
36-
Add your web files to `/config/www` for hosting.
37-
Modify the nginx, php and site config files under `/config` as needed
38-
*Protip: This container is best combined with a sql server, e.g. [mariadb](https://hub.docker.com/r/linuxserver/mariadb/)*
29+
Add your web files to `/config/www` for hosting.
30+
Modify the nginx, php and site config files under `/config` as needed
3931
4032
# changelog
4133
changelogs:
34+
- { date: "31.05.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
4235
- { date: "05.03.24:", desc: "Rebase to Alpine 3.19 with php 8.3."}
4336
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
4437
- { date: "16.01.23:", desc: "Remove nchan module because it keeps causing crashes." }

0 commit comments

Comments
 (0)