github.com/aergoio/aergo@v1.3.1/Dockerfile.polaris (about)

     1  FROM golang:1.12.5-alpine3.9 as builder
     2  RUN apk update && apk add git cmake build-base m4
     3  COPY . aergo
     4  RUN cd aergo && make polaris colaris
     5  
     6  FROM alpine:3.9
     7  RUN apk add libgcc
     8  COPY --from=builder go/aergo/bin/?olaris /usr/local/bin/
     9  WORKDIR /tools/
    10  CMD ["polaris"]