From 3226f30c9bd49d1a339d3df061f72f77c3cb3b8a Mon Sep 17 00:00:00 2001 From: mteodor Date: Thu, 14 Feb 2019 13:51:07 +0100 Subject: [PATCH 1/3] Removed legacy code as not needed anymore Signed-off-by: mteodor --- docker/Dockerfile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 031c819d70..f4bc60db39 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,11 +4,6 @@ ARG SVC_NAME WORKDIR /go/src/github.com/mainflux/mainflux COPY . . RUN apk update \ - && apk add make protobuf git \ - && 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 \ && mv build/mainflux-$SVC_NAME /exe From 2b60ec5277a9a8e12a57303df43b0a22cf284e75 Mon Sep 17 00:00:00 2001 From: mteodor Date: Thu, 14 Feb 2019 14:09:18 +0100 Subject: [PATCH 2/3] Small correction Signed-off-by: mteodor --- docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index f4bc60db39..e25dcc8a74 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,6 +4,7 @@ ARG SVC_NAME WORKDIR /go/src/github.com/mainflux/mainflux COPY . . RUN apk update \ + && apk add make git \ && make $SVC_NAME \ && mv build/mainflux-$SVC_NAME /exe From 84b402963d3e15c96f9771110bc55dc307600456 Mon Sep 17 00:00:00 2001 From: mteodor Date: Thu, 14 Feb 2019 14:36:04 +0100 Subject: [PATCH 3/3] Remove git as not needed Signed-off-by: mteodor --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e25dcc8a74..82788edce2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,7 +4,7 @@ ARG SVC_NAME WORKDIR /go/src/github.com/mainflux/mainflux COPY . . RUN apk update \ - && apk add make git \ + && apk add make\ && make $SVC_NAME \ && mv build/mainflux-$SVC_NAME /exe