malscan (v0-dc01e799)

Published 2023-04-06 08:42:19 +00:00 by friedkiwi in friedkiwi/malscan

Installation

docker pull git.cyber.gent/friedkiwi/malscan:v0-dc01e799
sha256:7d162aeccb8cb479d7b8fae69db2553f4c2e5ad94ac7934d8cfaa7079dfae8cd

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
RUN mkdir -p /work/malscan
COPY . /work/malscan
RUN cd /work/malscan && CGO_LDFLAGS='-lclamav' go build malscan.go && 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-06 08:42:19 +00:00
0
OCI / Docker
linux/amd64
1.4 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