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

15 lines
334 B
Docker
Raw Normal View History

2020-07-30 10:23:24 +00:00
FROM golang AS sia-builder
ENV GOOS linux
ENV GOARCH amd64
2020-07-30 10:23:24 +00:00
ARG branch=master
2020-07-30 10:23:24 +00:00
RUN git clone https://gitlab.com/NebulousLabs/Sia.git --single-branch --branch ${branch}
RUN make release --directory Sia
2020-07-30 10:23:24 +00:00
FROM nebulouslabs/sia:alpine-latest
2020-07-30 10:23:24 +00:00
COPY --from=sia-builder /go/bin/siac /sia/siac
COPY --from=sia-builder /go/bin/siad /sia/siad