You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			23 lines
		
	
	
		
			391 B
		
	
	
	
		
			Docker
		
	
			
		
		
	
	
			23 lines
		
	
	
		
			391 B
		
	
	
	
		
			Docker
		
	
# syntax=docker/dockerfile-upstream:1.4.3
 | 
						|
 | 
						|
# clamav image
 | 
						|
FROM base
 | 
						|
 | 
						|
ARG VERSION=local
 | 
						|
LABEL version=$VERSION
 | 
						|
 | 
						|
RUN set -euxo pipefail \
 | 
						|
  ; apk add --no-cache clamav clamav-libunrar rsyslog wget
 | 
						|
 | 
						|
COPY conf/ /etc/clamav/
 | 
						|
COPY start.py /
 | 
						|
 | 
						|
RUN echo $VERSION >/version
 | 
						|
 | 
						|
EXPOSE 3310/tcp
 | 
						|
HEALTHCHECK --start-period=350s CMD echo PING|nc localhost 3310|grep "PONG"
 | 
						|
 | 
						|
VOLUME ["/data"]
 | 
						|
 | 
						|
CMD /start.py
 |