@@ -47,6 +47,7 @@ RUN sed -e "s/@AATVersion/$AAT_VERSION/" \
4747 -e "s/@PGAVVersion/$PGAV_VERSION/" \
4848 -e "s/@PGPVersion/$PGP_VERSION/" \
4949 glide.yaml.tmpl > glide.yaml
50+
5051RUN glide up --skip-test
5152RUN cp -r vendor/* ${GOPATH}/src/
5253
@@ -59,16 +60,29 @@ RUN go install github.com/gogo/protobuf/protoc-gen-gogofaster
5960RUN go install github.com/gogo/protobuf/protoc-gen-gogoslick
6061RUN go install github.com/gogo/protobuf/protoc-gen-gogotypes
6162RUN go install github.com/gogo/protobuf/protoc-gen-gostring
63+
64+ RUN mkdir -p ${GOPATH}/src/github.com/chrusty/ && \
65+ cd ${GOPATH}/src/github.com/chrusty && \
66+ git clone --single-branch -b master https://github.com/chrusty/protoc-gen-jsonschema.git && \
67+ cd protoc-gen-jsonschema && git checkout cd4ff2f197c77b367ad30891c21d4ba94ff17600
6268RUN go get github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema
6369RUN go install github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema
70+
6471RUN go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
6572RUN go install github.com/envoyproxy/protoc-gen-validate
6673RUN go install github.com/mwitkow/go-proto-validators/protoc-gen-govalidators
6774RUN go install github.com/pseudomuto/protoc-gen-doc/cmd/...
6875RUN go install github.com/infobloxopen/protoc-gen-preprocess
76+
77+ RUN rm -rf github.com/infobloxopen/protoc-gen-gorm/ && mkdir -p github.com/infobloxopen/protoc-gen-gorm/
78+ RUN rm -rf vendor/github.com/infobloxopen/protoc-gen-gorm/ && mkdir -p vendor/github.com/infobloxopen/protoc-gen-gorm/
79+ COPY github.com/infobloxopen/protoc-gen-gorm/ ${GOPATH}/src/github.com/infobloxopen/protoc-gen-gorm/
80+ COPY github.com/infobloxopen/protoc-gen-gorm/ vendor/github.com/infobloxopen/protoc-gen-gorm/
81+
6982RUN go install \
70- -ldflags "-X github.com/infobloxopen/protoc-gen-gorm/plugin.ProtocGenGormVersion=$PGG_VERSION -X github.com/infobloxopen/protoc-gen-gorm/plugin.AtlasAppToolkitVersion=$AAT_VERSION " \
83+ -ldflags "-X github.com/infobloxopen/protoc-gen-gorm/plugin.ProtocGenGormVersion=v0.21.0 -X github.com/infobloxopen/protoc-gen-gorm/plugin.AtlasAppToolkitVersion=v0.25.1 " \
7184 github.com/infobloxopen/protoc-gen-gorm
85+
7286# Download all dependencies of protoc-gen-atlas-query-validate
7387RUN cd ${GOPATH}/src/github.com/infobloxopen/protoc-gen-atlas-query-validate && dep ensure -vendor-only
7488RUN go install github.com/infobloxopen/protoc-gen-atlas-query-validate
0 commit comments