This commit is contained in:
joy.zhou
2019-07-12 20:08:37 +08:00
parent 8e3bc82649
commit c547737ada

View File

@@ -2,7 +2,7 @@ FROM golang:1.12 as builder
WORKDIR /go/src/github.com/fhmq/hmq
COPY . .
COPY ./vendor .
RUN CGO_ENABLED=0 go build -o thing_model -a -ldflags '-extldflags "-static"' .
RUN CGO_ENABLED=0 go build -o hmq -a -ldflags '-extldflags "-static"' .
FROM alpine:3.8