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
|
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
|
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/
|
COPY docker-entrypoint.sh /usr/local/bin/
|
||||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||||
|
|
||||||
|
# Define volumes
|
||||||
VOLUME ["/scan"]
|
VOLUME ["/scan"]
|
||||||
VOLUME ["/quarantine"]
|
VOLUME ["/quarantine"]
|
||||||
VOLUME ["/var/log/clamav"]
|
VOLUME ["/var/log/clamav"]
|
||||||
|
|
||||||
|
# Set entrypoint
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
|
|
Loading…
Reference in New Issue