diff --git a/pica-wekan-scripts/Dockerfile b/pica-wekan-scripts/Dockerfile index bb594cb2ad492825357ff95312688e7cd4126ffd..a6b33605d21e5c5d07fe8649e11751207709ed36 100644 --- a/pica-wekan-scripts/Dockerfile +++ b/pica-wekan-scripts/Dockerfile @@ -4,6 +4,8 @@ ENV DRYRUN=1 COPY *.sh ./ -RUN apk add --no-cache curl jq +RUN apk add --no-cache --update curl jq ENTRYPOINT /bin/sh ./run.sh + + diff --git a/pica-wekan-scripts/docker-compose.yml b/pica-wekan-scripts/docker-compose.yml index 3309b72f76612c08158c124fbbb086e287577a3b..bc8dc2596d14b86d8996a231f877d6154cedbb38 100644 --- a/pica-wekan-scripts/docker-compose.yml +++ b/pica-wekan-scripts/docker-compose.yml @@ -2,9 +2,7 @@ version: '3' services: wekan-cleaner: - build: - context: ./ - dockerfile: Dockerfile-clean + image: registry.picasoft.net/pica-wekan-clean environment: - DRYRUN=1 container_name: wekan_clean diff --git a/pica-wekan/Dockerfile-clean b/pica-wekan/Dockerfile-clean deleted file mode 100644 index 08d51b700fe2502bab47eb533df3318e2fa579eb..0000000000000000000000000000000000000000 --- a/pica-wekan/Dockerfile-clean +++ /dev/null @@ -1,15 +0,0 @@ -from alpine - -ENV DRYRUN=true - -# COPY test.sh ./ - -RUN apk add --no-cache curl jq -RUN if [ $DRYRUN = false ]; \ - then \ - export ARGS="-d";\ - else \ - export ARGS="-t";\ - fi - -ENTRYPOINT /bin/sh ./test.sh diff --git a/pica-wekan/docker-compose-clean.yml b/pica-wekan/docker-compose-clean.yml deleted file mode 100644 index 3c83a081ca9685607c1802a45ae6a8ae1fdcafd5..0000000000000000000000000000000000000000 --- a/pica-wekan/docker-compose-clean.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: '3' - -services: - wekan-cleaner: - build: - context: ./ - dockerfile: Dockerfile-clean - environment: - - DRYRUN=false - container_name: wekan_clean