[ClamAV] Fix whitelist permission error

[Compose] New image for ClamAV
[Git] Add ignore data/web/nextcloud*
This commit is contained in:
andryyy
2019-01-13 11:21:44 +01:00
parent 0999ae375d
commit 5619221ed0
3 changed files with 5 additions and 5 deletions

View File

@@ -52,9 +52,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libssl-dev \
libjson-c-dev \
&& addgroup --system --gid 700 clamav \
&& adduser --system --home /var/lib/clamav --uid 700 --gid 700 --disabled-login clamav \
&& mkdir -p /run/clamav \
&& chown clamav:clamav /run/clamav \
&& adduser --system --no-create-home --home /var/lib/clamav --uid 700 --gid 700 --disabled-login clamav \
&& mkdir -p /run/clamav /var/lib/clamav \
&& chown clamav:clamav /run/clamav /var/lib/clamav \
&& chmod 750 /run/clamav \
&& rm -rf /tmp/* /var/tmp/*