Skip to content

Commit f5fb419

Browse files
author
Debdut Chakraborty
committed
Some of the initial additions.
Nothing specific to say, going to sleep. Shall complete tomorrow.
1 parent 94f9537 commit f5fb419

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

configs/clamd.conf

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# General
2+
3+
DatabaseDirectory /var/run/clamav/data
4+
TemporaryDirectory /tmp
5+
LogTime yes
6+
LogVerbose yes
7+
PidFile /var/run/clamav/clamd.pid
8+
LocalSocket /var/run/clamav/clamd.sock
9+
Foreground yes
10+
11+
12+
# Some other things
13+
# These are subject to change using environment variables.
14+
MaxScanSize 1GB
15+
MaxFileSize 1GB
16+
MaxRecursion 5
17+
MaxFiles 100

entrypoint.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#! /bin/sh
2+
3+
MAXSCANSIZE=${MAXSCANSIZE:-1GB}
4+
MAXFILESIZE=${MAXFILESIZE:-1GB}
5+
MAXRECURSION=${MAXRECURSION:-5}
6+
MAXFILES=${MAXFILES:-100}
7+
8+
CLAMAV_DIR=${CLAMAV_DIR:-/var/run/clamav}
9+
10+

start.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
docker container run -w /mnt -ti -v $PWD:/mnt --name clamav_test --rm common ash

0 commit comments

Comments
 (0)