Skip to content

Commit a5b602e

Browse files
authored
Merge pull request #54 from linuxserver/3.17
Rebase to 3.17, migrate to s6v3
2 parents ea861c6 + 7fa24b5 commit a5b602e

File tree

15 files changed

+85
-72
lines changed

15 files changed

+85
-72
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Comment on invalid interaction
2+
on:
3+
issues:
4+
types:
5+
- labeled
6+
jobs:
7+
add-comment-on-invalid:
8+
if: github.event.label.name == 'invalid'
9+
permissions:
10+
issues: write
11+
uses: linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1
12+
secrets: inherit

.github/workflows/external_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fi
1919
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_DOKUWIKI_MASTER\". ****"
2020
echo "**** Retrieving external version ****"
21-
EXT_RELEASE=$(docker run --rm alpine:3.9 sh -c 'apk add xmlstarlet > /dev/null 2>&1 && wget https://download.dokuwiki.org/rss -O - 2>/dev/null | xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | cut -d'-' -f2-4 | cut -d'.' -f1')
21+
EXT_RELEASE=$(docker run --rm alpine:latest sh -c 'apk add xmlstarlet > /dev/null 2>&1 && wget https://download.dokuwiki.org/rss -O - 2>/dev/null | xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | cut -d'-' -f2-4 | cut -d'.' -f1')
2222
if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then
2323
echo "**** Can't retrieve external version, exiting ****"
2424
FAILURE_REASON="Can't retrieve external version for dokuwiki branch master"

Dockerfile

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.15
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.17
24

35
# set version label
46
ARG BUILD_DATE
@@ -10,31 +12,29 @@ LABEL maintainer="chbmb"
1012
RUN \
1113
echo "**** install build packages ****" && \
1214
apk add --no-cache --virtual=build-dependencies \
13-
tar \
1415
xmlstarlet && \
1516
echo "**** install runtime packages ****" && \
1617
apk add --no-cache \
17-
curl \
1818
imagemagick \
19-
php8-bz2 \
20-
php8-ctype \
21-
php8-curl \
22-
php8-dom \
23-
php8-gd \
24-
php8-iconv \
25-
php8-ldap \
26-
php8-pdo_mysql \
27-
php8-pdo_pgsql \
28-
php8-pdo_sqlite \
29-
php8-pecl-imagick \
30-
php8-sqlite3 \
31-
php8-xml \
32-
php8-zip && \
19+
php81-bz2 \
20+
php81-ctype \
21+
php81-curl \
22+
php81-dom \
23+
php81-gd \
24+
php81-iconv \
25+
php81-ldap \
26+
php81-pdo_mysql \
27+
php81-pdo_pgsql \
28+
php81-pdo_sqlite \
29+
php81-pecl-imagick \
30+
php81-sqlite3 \
31+
php81-xml \
32+
php81-zip && \
3333
echo "**** install dokuwiki ****" && \
3434
if [ -z ${DOKUWIKI_RELEASE+x} ]; then \
3535
DOKUWIKI_RELEASE=$(wget https://download.dokuwiki.org/rss -O - 2>/dev/null | \
36-
xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | \
37-
cut -d'-' -f2-4 | cut -d'.' -f1 ); \
36+
xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | \
37+
cut -d'-' -f2-4 | cut -d'.' -f1 ); \
3838
fi && \
3939
curl -o \
4040
/tmp/dokuwiki.tar.gz -L \
@@ -48,7 +48,7 @@ RUN \
4848
apk del --purge \
4949
build-dependencies && \
5050
rm -rf \
51-
/root/.cache \
51+
$HOME/.cache \
5252
/tmp/*
5353

5454
# copy local files

Dockerfile.aarch64

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.15
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.17
24

35
# set version label
46
ARG BUILD_DATE
@@ -10,31 +12,29 @@ LABEL maintainer="chbmb"
1012
RUN \
1113
echo "**** install build packages ****" && \
1214
apk add --no-cache --virtual=build-dependencies \
13-
tar \
1415
xmlstarlet && \
1516
echo "**** install runtime packages ****" && \
1617
apk add --no-cache \
17-
curl \
1818
imagemagick \
19-
php8-bz2 \
20-
php8-ctype \
21-
php8-curl \
22-
php8-dom \
23-
php8-gd \
24-
php8-iconv \
25-
php8-ldap \
26-
php8-pdo_mysql \
27-
php8-pdo_pgsql \
28-
php8-pdo_sqlite \
29-
php8-pecl-imagick \
30-
php8-sqlite3 \
31-
php8-xml \
32-
php8-zip && \
19+
php81-bz2 \
20+
php81-ctype \
21+
php81-curl \
22+
php81-dom \
23+
php81-gd \
24+
php81-iconv \
25+
php81-ldap \
26+
php81-pdo_mysql \
27+
php81-pdo_pgsql \
28+
php81-pdo_sqlite \
29+
php81-pecl-imagick \
30+
php81-sqlite3 \
31+
php81-xml \
32+
php81-zip && \
3333
echo "**** install dokuwiki ****" && \
3434
if [ -z ${DOKUWIKI_RELEASE+x} ]; then \
3535
DOKUWIKI_RELEASE=$(wget https://download.dokuwiki.org/rss -O - 2>/dev/null | \
36-
xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | \
37-
cut -d'-' -f2-4 | cut -d'.' -f1 ); \
36+
xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | \
37+
cut -d'-' -f2-4 | cut -d'.' -f1 ); \
3838
fi && \
3939
curl -o \
4040
/tmp/dokuwiki.tar.gz -L \
@@ -48,7 +48,7 @@ RUN \
4848
apk del --purge \
4949
build-dependencies && \
5050
rm -rf \
51-
/root/.cache \
51+
$HOME/.cache \
5252
/tmp/*
5353

5454
# copy local files

Dockerfile.armhf

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm32v7-3.15
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm32v7-3.17
24

35
# set version label
46
ARG BUILD_DATE
@@ -10,31 +12,29 @@ LABEL maintainer="chbmb"
1012
RUN \
1113
echo "**** install build packages ****" && \
1214
apk add --no-cache --virtual=build-dependencies \
13-
tar \
1415
xmlstarlet && \
1516
echo "**** install runtime packages ****" && \
1617
apk add --no-cache \
17-
curl \
1818
imagemagick \
19-
php8-bz2 \
20-
php8-ctype \
21-
php8-curl \
22-
php8-dom \
23-
php8-gd \
24-
php8-iconv \
25-
php8-ldap \
26-
php8-pdo_mysql \
27-
php8-pdo_pgsql \
28-
php8-pdo_sqlite \
29-
php8-pecl-imagick \
30-
php8-sqlite3 \
31-
php8-xml \
32-
php8-zip && \
19+
php81-bz2 \
20+
php81-ctype \
21+
php81-curl \
22+
php81-dom \
23+
php81-gd \
24+
php81-iconv \
25+
php81-ldap \
26+
php81-pdo_mysql \
27+
php81-pdo_pgsql \
28+
php81-pdo_sqlite \
29+
php81-pecl-imagick \
30+
php81-sqlite3 \
31+
php81-xml \
32+
php81-zip && \
3333
echo "**** install dokuwiki ****" && \
3434
if [ -z ${DOKUWIKI_RELEASE+x} ]; then \
3535
DOKUWIKI_RELEASE=$(wget https://download.dokuwiki.org/rss -O - 2>/dev/null | \
36-
xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | \
37-
cut -d'-' -f2-4 | cut -d'.' -f1 ); \
36+
xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | \
37+
cut -d'-' -f2-4 | cut -d'.' -f1 ); \
3838
fi && \
3939
curl -o \
4040
/tmp/dokuwiki.tar.gz -L \
@@ -48,7 +48,7 @@ RUN \
4848
apk del --purge \
4949
build-dependencies && \
5050
rm -rf \
51-
/root/.cache \
51+
$HOME/.cache \
5252
/tmp/*
5353

5454
# copy local files

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pipeline {
104104
steps{
105105
script{
106106
env.EXT_RELEASE = sh(
107-
script: ''' docker run --rm alpine:3.9 sh -c 'apk add xmlstarlet > /dev/null 2>&1 && wget https://download.dokuwiki.org/rss -O - 2>/dev/null | xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | cut -d'-' -f2-4 | cut -d'.' -f1' ''',
107+
script: ''' docker run --rm alpine:latest sh -c 'apk add xmlstarlet > /dev/null 2>&1 && wget https://download.dokuwiki.org/rss -O - 2>/dev/null | xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | cut -d'-' -f2-4 | cut -d'.' -f1' ''',
108108
returnStdout: true).trim()
109109
env.RELEASE_LINK = 'custom_command'
110110
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
224224

225225
## Versions
226226

227+
* **28.12.22:** - Rebase to Alpine 3.17, migrate to s6v3.
227228
* **11.13.22:** - Move lib/images/smileys/local and lib/images/interwiki outside of the container for user defined smiley and interwiki icon support.
228229
* **20.08.22:** - Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base)).
229230
* **20.07.21:** - Add php7-dom, fixes minor issues in sprintdoc template.

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# jenkins variables
44
project_name: docker-dokuwiki
55
external_type: na
6-
custom_version_command: "docker run --rm alpine:3.9 sh -c 'apk add xmlstarlet > /dev/null 2>&1 && wget https://download.dokuwiki.org/rss -O - 2>/dev/null | xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | cut -d'-' -f2-4 | cut -d'.' -f1'"
6+
custom_version_command: "docker run --rm alpine:latest sh -c 'apk add xmlstarlet > /dev/null 2>&1 && wget https://download.dokuwiki.org/rss -O - 2>/dev/null | xmlstarlet sel -T -t -v '/rss/channel/item[1]/link' | cut -d'-' -f2-4 | cut -d'.' -f1'"
77
release_type: stable
88
release_tag: latest
99
ls_branch: master

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ app_setup_block: |
4040
Upon first install go to `http://$IP:$PORT/install.php` once you have completed the setup, restart the container, login as admin and set "Use nice URLs" in the `admin/Configuration Settings` panel to `.htaccess` and tick `Use slash as namespace separator in URLs` to enable [nice URLs](https://www.dokuwiki.org/rewrite) you will find the webui at `http://$IP:$PORT/`, for more info see [{{ project_name|capitalize }}]({{ project_url }})
4141
# changelog
4242
changelogs:
43+
- { date: "28.12.22:", desc: "Rebase to Alpine 3.17, migrate to s6v3." }
4344
- { date: "11.13.22:", desc: "Move lib/images/smileys/local and lib/images/interwiki outside of the container for user defined smiley and interwiki icon support." }
4445
- { date: "20.08.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))." }
4546
- { date: "20.07.21:", desc: "Add php7-dom, fixes minor issues in sprintdoc template." }

root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-dokuwiki-config

Whitespace-only changes.

0 commit comments

Comments
 (0)