Skip to content

Commit

Permalink
use alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
irahardianto committed Oct 1, 2017
1 parent cc36b44 commit ee6b041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY . ./
RUN $GOPATH/bin/dep ensure
RUN go build --tags service-pattern-go --ldflags '-extldflags "-lm -lstdc++ -static"'

FROM scratch
FROM alpine:latest
WORKDIR /root/
COPY --from=builder /go/src/github.com/irahardianto/service-pattern-go/service-pattern-go .
CMD ["./service-pattern-go"]
Expand Down

0 comments on commit ee6b041

Please sign in to comment.