malscan (v0-d904d292)

Published 2023-04-07 14:14:49 +00:00 by friedkiwi in friedkiwi/malscan

Installation

docker pull git.cyber.gent/friedkiwi/malscan:v0-d904d292
sha256:4d9bf2b3eb3d424fbed5b7b009de1aafe6a9dbda151c43675c21fc2eb9f3dba6

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
Container
2023-04-07 14:14:49 +00:00
0
OCI / Docker
linux/amd64
1.5 GiB
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