File: Dockerfile

Recommend this page to a friend!
  Classes of Marco Cesarato  >  PHP Malware Scanner Free Tool  >  Dockerfile  >  Download  
File: Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Malware Scanner Free Tool
Scan PHP files to find malicious code
Author: By
Last change: Update of Dockerfile
Date: 4 months ago
Size: 442 bytes
 

Contents

Class file image Download
FROM php:8-alpine

RUN apk update && \
    apk upgrade && \
    apk add bash && \
    wget https://raw.githubusercontent.com/marcocesarato/PHP-Antimalware-Scanner/master/dist/scanner --no-check-certificate -O /usr/bin/scanner.phar && \
    printf "#!/bin/bash\nphp /usr/bin/scanner.phar \$@" > /usr/bin/scanner && \
    chmod u+x,g+x /usr/bin/scanner.phar && \
    chmod u+x,g+x /usr/bin/scanner && \
    export PATH=$PATH":/usr/bin"
For more information send a message to info at phpclasses dot org.