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.
2021-12-01 09:57:28 +00:00
|
|
|
FROM golang:1.16.7
|
|
|
|
LABEL maintainer="NebulousLabs <devs@nebulous.tech>"
|
|
|
|
|
|
|
|
ENV GOOS linux
|
|
|
|
ENV GOARCH amd64
|
|
|
|
|
2021-12-02 16:20:14 +00:00
|
|
|
ARG branch=main
|
2021-12-01 09:57:28 +00:00
|
|
|
|
|
|
|
WORKDIR /root
|
|
|
|
|
|
|
|
RUN git clone --single-branch --branch ${branch} https://github.com/SkynetLabs/blocker.git && \
|
|
|
|
cd blocker && \
|
|
|
|
go mod download && \
|
|
|
|
make release
|
|
|
|
|
|
|
|
ENTRYPOINT ["blocker"]
|