16 lines
487 B
Plaintext
16 lines
487 B
Plaintext
FROM golang:1.10-alpine as builder
|
|
|
|
ARG build_tags
|
|
|
|
RUN apk add --no-cache make gcc musl-dev linux-headers
|
|
|
|
RUN mkdir -p /go/src/github.com/status-im/status-go
|
|
ADD . /go/src/github.com/status-im/status-go
|
|
RUN cd /go/src/github.com/status-im/status-go && make bootnode BUILD_TAGS="$build_tags"
|
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache ca-certificates bash
|
|
|
|
COPY --from=builder /go/src/github.com/status-im/status-go/build/bin/bootnode /usr/local/bin/
|
|
ENTRYPOINT /usr/local/bin/bootnode |