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:
parent
0999ae375d
commit
5619221ed0
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||
|
@ -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/*
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user