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/abuse/Dockerfile

17 lines
333 B
Docker
Raw Normal View History

2021-12-13 09:42:46 +00:00
FROM golang:1.16.7
2021-12-13 14:45:22 +00:00
LABEL maintainer="SkynetLabs <devs@siasky.net>"
2021-12-13 09:42:46 +00:00
ENV GOOS linux
ENV GOARCH amd64
ARG branch=main
WORKDIR /root
RUN git clone --single-branch --branch ${branch} https://github.com/SkynetLabs/abuse-scanner.git && \
cd abuse-scanner && \
go mod download && \
make release
ENTRYPOINT ["abuse-scanner"]