MF-597 - Removed legacy code as not needed anymore (#598)
* Removed legacy code as not needed anymore Signed-off-by: mteodor <mirko.teodorovic@gmail.com> * Small correction Signed-off-by: mteodor <mirko.teodorovic@gmail.com> * Remove git as not needed Signed-off-by: mteodor <mirko.teodorovic@gmail.com>
This commit is contained in:
parent
c418a9a4cf
commit
2ee0ed18e0
|
@ -4,11 +4,7 @@ ARG SVC_NAME
|
||||||
WORKDIR /go/src/github.com/mainflux/mainflux
|
WORKDIR /go/src/github.com/mainflux/mainflux
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk add make protobuf git \
|
&& apk add make\
|
||||||
&& go get -u github.com/golang/protobuf/protoc-gen-go \
|
|
||||||
&& go get github.com/gogo/protobuf/protoc-gen-gofast \
|
|
||||||
&& go get -u google.golang.org/grpc \
|
|
||||||
&& make proto \
|
|
||||||
&& make $SVC_NAME \
|
&& make $SVC_NAME \
|
||||||
&& mv build/mainflux-$SVC_NAME /exe
|
&& mv build/mainflux-$SVC_NAME /exe
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue