Move ARM build to use Go 1.9.2
-FROM alexellis2/go-armhf:1.7.4
+FROM golang:1.9.2 as build
RUN mkdir -p /go/src/github.com/openfaas/faas-netes/
@@ -13,7 +13,8 @@ RUN VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags
-X github.com/openfaas/faas-netes/version.Version=${VERSION}" \
-a -installsuffix cgo -o faas-netes .
-FROM alpine:3.5
+FROM alpine:3.7 as ship
+
RUN apk --no-cache add ca-certificates
WORKDIR /root/
@@ -21,6 +22,6 @@ EXPOSE 8080
ENV http_proxy ""
ENV https_proxy ""
-COPY --from=0 /go/src/github.com/openfaas/faas-netes/faas-netes .
+COPY --from=build /go/src/github.com/openfaas/faas-netes/faas-netes .
CMD ["./faas-netes"]
