github.com/alexdevranger/node-1.8.27@v0.0.0-20221128213301-aa5841e41d2d/Dockerfile (about) 1 # Build Gdubx in a stock Go builder container 2 FROM golang:1.11-alpine as builder 3 4 RUN apk add --no-cache make gcc musl-dev linux-headers 5 6 ADD . /node-1.8.27 7 RUN cd /node-1.8.27 && make gdubx 8 9 # Pull Gdubx into a second stage deploy alpine container 10 FROM alpine:latest 11 12 RUN apk add --no-cache ca-certificates 13 COPY --from=builder /node-1.8.27/build/bin/gdubx /usr/local/bin/ 14 15 EXPOSE 8326 8327 32609 32609/udp 16 ENTRYPOINT ["gdubx"]