fix: disable clamscan (to avoid a load of packages)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2024-08-13 17:35:48 +02:00
parent daccaad28c
commit c6c36e877d
2 changed files with 7 additions and 5 deletions

View file

@ -24,7 +24,7 @@ steps:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-nextcloud:latest_${DRONE_BRANCH/\\//-}"
cache_from: "glenux/service-nextcloud:${DRONE_BRANCH/\\//-}_latest"
repo: glenux/service-nextcloud
tags: "${DRONE_COMMIT_SHA:0:8}"
purge: false
@ -43,9 +43,9 @@ steps:
from_secret: DOCKERHUB_PASSWORD
cache_from:
- "glenux/service-nextcloud:${DRONE_COMMIT_SHA:0:8}"
- "glenux/service-nextcloud:latest_${DRONE_BRANCH/\\//-}"
- "glenux/service-nextcloud:${DRONE_BRANCH/\\//-}_latest"
repo: glenux/service-nextcloud
tags: "latest_${DRONE_BRANCH/\\//-}"
tags: "${DRONE_BRANCH/\\//-}_latest"
purge: false
when:
branch:
@ -64,7 +64,7 @@ steps:
from_secret: DOCKERHUB_PASSWORD
cache_from:
- "glenux/service-nextcloud:${DRONE_COMMIT_SHA:0:8}"
- "glenux/service-nextcloud:latest_${DRONE_BRANCH/\\//-}"
- "glenux/service-nextcloud:${DRONE_BRANCH/\\//-}_latest"
repo: glenux/service-nextcloud
tags: latest
purge: false

View file

@ -23,9 +23,11 @@ FROM nextcloud:29.0.3-apache
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
clamdscan nano ghostscript jq \
nano ghostscript \
&& apt-get clean
# clamdscan
#
## Enable REDIS extension
# RUN pecl channel-update pecl.php.net \