forked from TrueCloudLab/frostfs-node
dadfd90dcd
Initial public review release v0.10.0
21 lines
304 B
Docker
21 lines
304 B
Docker
FROM golang:1.14-alpine as builder
|
|
|
|
ARG BUILD=now
|
|
ARG VERSION=dev
|
|
ARG REPO=repository
|
|
|
|
WORKDIR /src
|
|
|
|
COPY . /src
|
|
|
|
RUN apk add --update make bash
|
|
RUN make bin/neofs-node
|
|
|
|
# Executable image
|
|
FROM scratch AS neofs-node
|
|
|
|
WORKDIR /
|
|
|
|
COPY --from=builder /src/bin/neofs-node /bin/neofs-node
|
|
|
|
CMD ["neofs-node"]
|