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.
2020-07-30 10:23:24 +00:00
|
|
|
FROM golang AS sia-builder
|
2020-07-08 12:09:54 +00:00
|
|
|
|
|
|
|
ENV GOOS linux
|
|
|
|
ENV GOARCH amd64
|
|
|
|
|
2020-07-30 10:23:24 +00:00
|
|
|
ARG branch=master
|
2020-07-08 12:09:54 +00:00
|
|
|
|
2021-04-02 14:46:23 +00:00
|
|
|
RUN git clone https://gitlab.com/SkynetHQ/skyd.git Sia --single-branch --branch ${branch}
|
2020-07-30 10:23:24 +00:00
|
|
|
RUN make release --directory Sia
|
2020-07-08 12:09:54 +00:00
|
|
|
|
2021-03-22 11:31:17 +00:00
|
|
|
FROM nebulouslabs/sia:1.5.5
|
2020-07-08 12:09:54 +00:00
|
|
|
|
2021-03-18 16:54:41 +00:00
|
|
|
COPY --from=sia-builder /go/bin/skyd /usr/bin/siad
|
|
|
|
COPY --from=sia-builder /go/bin/skyc /usr/bin/siac
|