You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
227 B

FROM golang:stretch AS builder
WORKDIR /go/src/app
COPY . .
RUN go get -d -v
RUN go build -o app .
FROM keybaseio/client:latest
WORKDIR /home/keybase
COPY --from=builder /go/src/app/app .
ENV KEYBASE_SERVICE=1
CMD ["./app"]