Skip to content

Commit e3cfdf6

Browse files
authored
Fix image due to alpine and rclone changes (#225)
1 parent 58886cf commit e3cfdf6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

caddy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
echo "[INFO] Run aria2c and ariaNG"
44

55
echo "[INFO] Generate basic auth password for caddy"
6-
ARIA2_PWD_ENCRYPT=$(caddy hash-password -plaintext ${ARIA2_PWD})
6+
ARIA2_PWD_ENCRYPT=$(caddy hash-password --plaintext ${ARIA2_PWD})
77

88
case $ENABLE_AUTH in
99
true)
@@ -28,4 +28,4 @@ heroku)
2828
;;
2929
esac
3030

31-
/usr/local/bin/caddy run -config ${CADDY_FILE} -adapter=caddyfile
31+
/usr/local/bin/caddy run --config ${CADDY_FILE} --adapter=caddyfile

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ariang_file=AriaNg-${ariang_version}.zip
3737

3838
adduser -D -u 1000 junv \
3939
&& apk update \
40-
&& apk add runit shadow wget bash curl openrc gnupg aria2 tar mailcap fuse vim --no-cache \
40+
&& apk add runit shadow wget bash curl openrc gnupg aria2 tar mailcap fuse vim libcap --no-cache \
4141
&& wget -N https://github.com/caddyserver/caddy/releases/download/v${caddy_version}/${caddy_file} \
4242
&& tar -zxf ${caddy_file} \
4343
&& mv caddy /usr/local/bin/ \

0 commit comments

Comments
 (0)