Hi Team,
This is Tri from Cepheid. I would like to ask the team a question about installing ClamAV into out application docker image and run it.
The description is below:
I have a dockerfile to build a docker image which is our application image based on AlpineLinux image. Now I want to install ClamAV into this docker imageand run the scan. Can you help me how can I do that?
I basically added the below to my dockerfile
RUN apk --no-cache add clamav clamav-libunrar \
&& mkdir /run/clamav \
&& chown clamav:clamav /run/clamav && \
rm -rf /var/cache/apk/* /usr/src/*
EXPOSE 3310
EXPOSE 7357
RUN freshclam --quiet && \
clamscan
I am not sure that is correct or do I need to add more thing here.
Thank you
Tri Tran
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.
_______________________________________________
clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel
Please submit your patches to our Bugzilla: http://bugzilla.clamav.net
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
This is Tri from Cepheid. I would like to ask the team a question about installing ClamAV into out application docker image and run it.
The description is below:
I have a dockerfile to build a docker image which is our application image based on AlpineLinux image. Now I want to install ClamAV into this docker imageand run the scan. Can you help me how can I do that?
I basically added the below to my dockerfile
RUN apk --no-cache add clamav clamav-libunrar \
&& mkdir /run/clamav \
&& chown clamav:clamav /run/clamav && \
rm -rf /var/cache/apk/* /usr/src/*
EXPOSE 3310
EXPOSE 7357
RUN freshclam --quiet && \
clamscan
I am not sure that is correct or do I need to add more thing here.
Thank you
Tri Tran
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.
_______________________________________________
clamav-devel mailing list
clamav-devel@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel
Please submit your patches to our Bugzilla: http://bugzilla.clamav.net
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml