Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 357 Bytes
FROM golang:1.12 AS builder
WORKDIR /go/src/github.com/pusher/quack
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
COPY . .
RUN dep ensure --vendor-only
RUN CGO_ENABLED=0 GOOS=linux go build -o /bin/quack github.com/pusher/quack/cmd/quack
FROM alpine:3.10
COPY --from=builder /bin/quack /bin/quack
ENTRYPOINT ["/bin/quack"]
You can’t perform that action at this time.