浏览代码

Optimized CLAMAV Builds to match exact version instead of Repo

DerLinkman 2 年之前
父节点
当前提交
fbc8fb7ecb
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      data/Dockerfiles/clamd/Dockerfile

+ 3 - 1
data/Dockerfiles/clamd/Dockerfile

@@ -10,7 +10,9 @@ RUN apk upgrade --no-cache \
   bash \
   tini
 
-COPY clamd.sh ./
+# init
+COPY clamd.sh /clamd.sh
+RUN chmod +x /sbin/tini
 
 # healthcheck
 COPY healthcheck.sh /healthcheck.sh