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.
15 lines
314 B
15 lines
314 B
FROM golang:stretch AS builder |
|
|
|
WORKDIR /go/src/app |
|
COPY . . |
|
RUN go get -d -v |
|
RUN go build -o app . |
|
|
|
FROM keybaseio/client:stable-slim |
|
|
|
WORKDIR /home/keybase |
|
COPY --from=builder /go/src/app/app . |
|
COPY --from=builder /go/src/app/provision.sh . |
|
ENV KEYBASE_SERVICE=1 |
|
RUN chmod +x provision.sh |
|
CMD ["./provision.sh"]
|
|
|