Commit 4094a9e6 authored by Oliver Lippert's avatar Oliver Lippert
Browse files

php.yar inkludiert nun custom.yar

parent 4a57e387
Pipeline #1602 failed with stage
in 1 minute and 46 seconds
......@@ -29,10 +29,13 @@ WORKDIR /php-malware-finder-0.3.1
RUN make
RUN cp -R php-malware-finder /etc/phpmalwarefinder
# Add custom.yar
RUN echo include \"custom.yar\" >> /etc/phpmalwarefinder/php.yar
# Declare Volume
VOLUME ["/var/scan"]
VOLUME ["/var/config"]
# Run pmf
# CMD cd /var/scan && unzip * | true && /php-malware-finder-0.3.1/phpmalwarefinder -h && bash
CMD cp /var/config/custom.yar /php-malware-finder-0.3.1/custom.yar && /etc/phpmalwarefinder/phpmalwarefinder /var/scan
\ No newline at end of file
CMD cp /var/config/custom.yar /etc/phpmalwarefinder/custom.yar && /etc/phpmalwarefinder/phpmalwarefinder /var/scan
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment