diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aa81d74d23d7fde8b43070489ae3a7019ddd3b81..1a78f6f6121ee6d12f09da70496996e32988a20f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,28 @@ update_clamav_db:
     - apt-get install -y clamav-freshclam
 
   script:
+    - |
+      cat << EOF > /etc/clamav/freshclam.conf
+      DatabaseMirror https://database.clamav.net
+      DatabaseDirectory ${CLAMAV_DB_PATH}
+      LogFileMaxSize 1M
+      LogTime no
+      LogVerbose no
+      LogSyslog yes
+      LogFacility LOG_LOCAL6
+      LogRotate no
+      DatabaseOwner clamav
+      MaxAttempts 3
+      ScriptedUpdates yes
+      CompressLocalDatabase no
+      NotifyClamd no
+      Foreground yes
+      Debug yes
+      ConnectTimeout 30
+      ReceiveTimeout 60
+      Bytecode yes
+      Checks 12
+      EOF
     # Run Freshclam to download the latest ClamAV database files
     - freshclam
     # Copy the database files to the repository
diff --git a/freshclam.conf b/freshclam.conf
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391