-
Notifications
You must be signed in to change notification settings - Fork 35
/
Dockerfile.dev
25 lines (24 loc) · 964 Bytes
/
Dockerfile.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM golang:1.11-alpine AS build
ARG GOOS
ARG GOARCH
RUN apk add -U git make curl build-base bash git autoconf automake libtool unzip file bzr
RUN git clone https://github.com/google/protobuf /tmp/protobuf && \
cd /tmp/protobuf && \
./autogen.sh && \
./configure && make install
RUN go get -v github.com/LK4D4/vndr
RUN go get -v github.com/golang/protobuf/protoc-gen-go
RUN go get -v github.com/gogo/protobuf/protoc-gen-gofast
RUN go get -v github.com/gogo/protobuf/proto
RUN go get -v github.com/gogo/protobuf/gogoproto
RUN go get -v github.com/gogo/protobuf/protoc-gen-gogo
RUN go get -v github.com/gogo/protobuf/protoc-gen-gogofast
RUN go get -v github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
RUN go get -v github.com/stevvooe/protobuild
RUN go get -v golang.org/x/lint/golint
RUN go get -v github.com/tebeka/go2xunit
ENV APP stellar
ENV REPO ehazlett/$APP
ARG BUILD
COPY . /go/src/github.com/$REPO
WORKDIR /go/src/github.com/$REPO