1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-23 02:04:46 +02:00

[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
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View File

@ -13,7 +13,7 @@ data/web/inc/vars.local.inc.php
data/assets/ssl/*
.vscode/*
data/web/.well-known/acme-challenge
data/web/nextcloud/
data/web/nextcloud*/
data/conf/rspamd/local.d/*
data/conf/rspamd/override.d/*
!data/conf/nginx/dynmaps.conf

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/*

View File

@ -55,7 +55,7 @@ services:
- redis
clamd-mailcow:
image: mailcow/clamd:1.17
image: mailcow/clamd:1.18
build: ./data/Dockerfiles/clamd
restart: always
environment: