From 3fbd8fb1ad4554e1b5bed04ef943d2f520c52022 Mon Sep 17 00:00:00 2001 From: Scott Fleckenstein Date: Wed, 13 Dec 2017 23:56:31 -0600 Subject: [PATCH] add simple dockerfile that builds all the monorepo tools --- .dockerignore | 2 ++ Dockerfile | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..6c8a3a4e04 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +vendor +dist \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..688418b6bd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM golang:1.9 +RUN bash -c "curl https://glide.sh/get | sh" +WORKDIR /go/src/github.com/stellar/go + +COPY glide.lock /go/src/github.com/stellar/go +COPY glide.yaml /go/src/github.com/stellar/go +RUN glide install + +COPY . . +RUN go install github.com/stellar/go/tools/... +RUN go install github.com/stellar/go/services/... \ No newline at end of file