malscan (v0-db7740c6)
Installation
docker pull git.cyber.gent/friedkiwi/malscan:v0-db7740c6
sha256:993d1fe69569d3ae692dbcdaa96b5aed9799a1ca2bfb36e01368ff9b91857e9f
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:c8ef6447752cab2541ffca9e3cfa27d581f3491bc8f356f6eafd951243609341 in / |
CMD ["/bin/bash"] |
RUN apt update -y && apt upgrade -y && apt install -y gcc make pkg-config python3 python3-pip python3-pytest valgrind check libbz2-dev libcurl4-openssl-dev libjson-c-dev libmilter-dev libncurses5-dev libpcre2-dev libssl-dev libxml2-dev zlib1g-dev cmake cargo rust-all wget |
RUN mkdir -p /work/clamav && wget https://www.clamav.net/downloads/production/clamav-1.0.1.tar.gz && tar xf clamav-1.0.1.tar.gz && mkdir clamav-build && cd clamav-build && cmake ../clamav-1.0.1 && make -j4 && make install && rm -Rf /work/clamav |
COPY config/freshclam.conf /usr/local/etc/freshclam.conf |
RUN freshclam --foreground -v |
RUN apt update -y && apt upgrade -y && apt install -y golang git |
RUN mkdir -p /work/malscan |
COPY . /work/malscan |
RUN cd /work/malscan && CGO_LDFLAGS='-lclamav' go build . && cp malscan /usr/local/bin/malscan |
Labels
Key | Value |
---|---|
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.version | 22.04 |
Details
Versions (8)
View all
v0-d904d292
2023-04-07
latest
2023-04-07
v0-e717674f
2023-04-07
v0-8a61a52f
2023-04-07
v0-db7740c6
2023-04-07