Update docker/clam/Dockerfile
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
d9ef711860
commit
64739f6f2f
|
@ -1,9 +1,22 @@
|
|||
FROM alpine:latest
|
||||
RUN apk add --no-cache clamav clamav-libunrar
|
||||
|
||||
# Install ClamAV, dependencies, and curl
|
||||
RUN apk add --no-cache clamav clamav-libunrar curl
|
||||
|
||||
# Update ClamAV definitions
|
||||
RUN freshclam
|
||||
|
||||
# Install go-glitch
|
||||
RUN curl -sSL https://git.nixc.us/Nixius/go-glitch/raw/branch/master/install.sh | bash
|
||||
|
||||
# Copy entrypoint script and set permissions
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
# Define volumes
|
||||
VOLUME ["/scan"]
|
||||
VOLUME ["/quarantine"]
|
||||
VOLUME ["/var/log/clamav"]
|
||||
|
||||
# Set entrypoint
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
|
Loading…
Reference in New Issue