mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
add local clam
This commit is contained in:
parent
46c8e36f96
commit
9824fc9254
6 changed files with 42 additions and 1 deletions
|
|
@ -28,6 +28,7 @@
|
|||
sudo,
|
||||
su,
|
||||
which,
|
||||
clamav,
|
||||
debug ? false,
|
||||
writeShellApplication,
|
||||
}: let
|
||||
|
|
@ -69,6 +70,12 @@
|
|||
mkdir -p $out
|
||||
cp -r ${../../redis-certificates} $out/redis-certificates
|
||||
'';
|
||||
clamav-data = runCommand "scripts" {} ''
|
||||
mkdir -p $out/etc
|
||||
mkdir -p $out/var/lib/clamav
|
||||
cp ${data/clamav/daily.cvd} $out/var/lib/clamav/daily.cvd
|
||||
cp -r ${configs/clamav} $out/etc/clamav
|
||||
'';
|
||||
|
||||
baseImage = dockerTools.buildImage {
|
||||
name = "icewind1991/haze-base";
|
||||
|
|
@ -93,6 +100,7 @@
|
|||
which
|
||||
git
|
||||
sqlite
|
||||
clamav
|
||||
# samba
|
||||
wget
|
||||
curl
|
||||
|
|
@ -125,6 +133,7 @@ in
|
|||
configs
|
||||
scripts
|
||||
redis-certificates
|
||||
clamav-data
|
||||
shadowSetupScript
|
||||
];
|
||||
fakeRootCommands = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue