Skip to content

Commit da72db1

Browse files
committed
Shellcheck and cleanup syntax
1 parent 3f54956 commit da72db1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN apk --update --no-cache add \
3333
shadow \
3434
tar \
3535
tzdata \
36-
&& rm -rf /tmp/* /var/cache/apk/* /var/www/*
36+
&& rm -rf /tmp/* /var/www/*
3737

3838
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS="2" \
3939
TZ="UTC" \
@@ -50,7 +50,7 @@ RUN apk --update --no-cache add -t build-dependencies \
5050
&& echo "$DOKUWIKI_MD5 /tmp/dokuwiki-$DOKUWIKI_VERSION.tgz" | md5sum -c - | grep OK \
5151
&& tar -xzf "dokuwiki-$DOKUWIKI_VERSION.tgz" --strip 1 -C /var/www \
5252
&& apk del build-dependencies \
53-
&& rm -rf /root/.gnupg /tmp/* /var/cache/apk/*
53+
&& rm -rf /root/.gnupg /tmp/*
5454

5555
COPY rootfs /
5656

examples/traefik/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.5"
22

33
services:
44
traefik:
5-
image: traefik:2.3
5+
image: traefik:2.5
66
container_name: traefik
77
command:
88
- "--global.checknewversion=false"

rootfs/etc/cont-init.d/03-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/with-contenv sh
2+
# shellcheck shell=sh
23

34
runas_user() {
45
yasu dokuwiki:dokuwiki "$@"

0 commit comments

Comments
 (0)