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

17 lines
378 B
Docker
Raw Permalink Normal View History

2020-07-30 10:23:24 +00:00
FROM golang AS sia-builder
ENV GOOS linux
ENV GOARCH amd64
ARG branch=portal-latest
2021-04-12 15:38:50 +00:00
RUN git clone https://gitlab.com/SkynetLabs/skyd.git Sia --single-branch --branch ${branch}
2020-07-30 10:23:24 +00:00
RUN make release --directory Sia
FROM nebulouslabs/sia:latest
2021-05-17 20:05:28 +00:00
COPY --from=sia-builder /go/bin/ /usr/bin/
2021-04-20 12:07:43 +00:00
RUN mv /usr/bin/skyd /usr/bin/siad || true && \
mv /usr/bin/skyc /usr/bin/siac || true