This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/docker/malware-scanner/Dockerfile

25 lines
531 B
Docker
Raw Normal View History

2021-11-09 17:04:05 +00:00
FROM golang:1.17
LABEL maintainer="SkynetLabs <devs@siasky.net>"
ENV GOOS linux
ENV GOARCH amd64
ARG branch=main
WORKDIR /root
RUN git clone --single-branch --branch ${branch} https://github.com/SkynetLabs/malware-scanner.git && \
cd malware-scanner && \
go mod download && \
make release
2021-11-11 09:34:50 +00:00
ENV SKYNET_DB_HOST="localhost"
ENV SKYNET_DB_PORT="27017"
ENV SKYNET_DB_USER="username"
ENV SKYNET_DB_PASS="password"
ENV MALWARE_SCANNER_PORT=4000
ENV CLAMAV_IP=127.0.0.1
ENV CLAMAV_PORT=3310
2021-11-09 17:04:05 +00:00
ENTRYPOINT ["malware-scanner"]