File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 2020-07-29-r7 (2021/03/02)
4
+
5
+ * Switch to ` gosu `
6
+
3
7
## 2020-07-29-r6 (2021/02/20)
4
8
5
9
* Downgrade s6-overlay to 2.1.0.2 (#29 )
Original file line number Diff line number Diff line change 1
1
ARG DOKUWIKI_VERSION="2020-07-29"
2
2
ARG DOKUWIKI_MD5="8867b6a5d71ecb5203402fe5e8fa18c9"
3
3
4
+ FROM --platform=${TARGETPLATFORM:-linux/amd64} crazymax/gosu:latest AS gosu
4
5
FROM --platform=${TARGETPLATFORM:-linux/amd64} crazymax/alpine-s6:3.12-2.1.0.2
5
6
LABEL maintainer="CrazyMax"
6
7
8
+ COPY --from=gosu / /
7
9
RUN apk --update --no-cache add \
8
10
curl \
9
11
imagemagick \
@@ -30,7 +32,6 @@ RUN apk --update --no-cache add \
30
32
php7-zip \
31
33
php7-zlib \
32
34
shadow \
33
- su-exec \
34
35
tar \
35
36
tzdata \
36
37
&& rm -rf /tmp/* /var/cache/apk/* /var/www/*
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/with-contenv sh
2
2
3
3
runas_user () {
4
- su-exec dokuwiki:dokuwiki " $@ "
4
+ gosu dokuwiki:dokuwiki " $@ "
5
5
}
6
6
7
7
TZ=${TZ:- UTC}
You can’t perform that action at this time.
0 commit comments