Install bash
FROM golang:1.10-alpine3.7 as build
ENV PACKAGEPATH=github.com/ligato/networkservicemesh/
-RUN apk add --update protobuf git
+RUN apk add --update protobuf git bash
COPY [".","/go/src/${PACKAGEPATH}"]
RUN test -z $(go fmt ./...) || (echo "Run go fmt ./... and recommit your code";exit 1)
WORKDIR /go/src/${PACKAGEPATH}/
@@ -9,5 +9,3 @@ RUN ./scripts/build.sh
FROM alpine:3.7 as runtime
COPY --from=build /go/bin/nsm /go/bin/nsm
ENTRYPOINT ["/go/bin/nsm"]
-
-
