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

14 lines
299 B
Docker

FROM golang AS sia-builder
ENV GOOS linux
ENV GOARCH amd64
ARG branch=master
RUN git clone https://gitlab.com/NebulousLabs/Sia.git --single-branch --branch ${branch}
RUN make release --directory Sia
FROM nebulouslabs/sia:alpine-1.5.0
COPY --from=sia-builder /go/bin/siac /go/bin/siad /usr/bin/