format scripts with shfmt and prepare docker env vars
This commit is contained in:
parent
cf1e2ab39a
commit
4e1fa17cca
5 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@ LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|||
LABEL maintainer="Ivan Schaller"
|
||||
|
||||
# manga-dlp version
|
||||
ARG MDLP_VERSION=2.0.8
|
||||
ENV MDLP_VERSION=2.0.8
|
||||
|
||||
# install packages
|
||||
RUN \
|
||||
|
|
|
@ -7,7 +7,7 @@ LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|||
LABEL maintainer="Ivan Schaller"
|
||||
|
||||
# manga-dlp version
|
||||
ARG MDLP_VERSION=2.0.8
|
||||
ENV MDLP_VERSION=2.0.8
|
||||
|
||||
# install packages
|
||||
RUN \
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
|
||||
# set all env variables for further use. If variable is unset, it will have the defaults on the right side after ":="
|
||||
|
||||
|
||||
# custom env vars
|
||||
#: "${var1:=/path1}"
|
||||
|
||||
: "${MDLP_LANGUAGE:=en}"
|
||||
: "${MDLP_FORCEVOL:=false}"
|
||||
: "${MDLP_FILE_FORMAT:=cbz}"
|
||||
: "${MDLP_DOWNLOAD_WAIT:=2}"
|
||||
: "${MDLP_VERBOSE:=false}"
|
||||
|
|
|
@ -10,4 +10,3 @@ find '/app' -type 'f' \( -not -perm 664 -and -not -path '/app/downloads*' \) -ex
|
|||
|
||||
find '/app' \( -not -user abc -and -not -path '/app/downloads*' \) -exec chown abc '{}' \+
|
||||
find '/app' \( -not -group abc -and -not -path '/app/downloads*' \) -exec chown :abc '{}' \+
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
# the file mangas.txt
|
||||
|
||||
0 3 * * * abc python3 /app/manga-dlp.py --read /app/mangas.txt -c all
|
||||
|
||||
|
|
Loading…
Reference in a new issue