From c293b2df727ebbec245a2fbd204bfe3d92a5c1a9 Mon Sep 17 00:00:00 2001 From: peterleeau Date: Wed, 5 Apr 2017 17:49:14 +1000 Subject: [PATCH] Added git, so 'go get' works with git deps Currently the alpine image doesn't include git, so following will happen if the dependencies a in a git repo: go: missing Git command. See https://golang.org/s/gogetcmd --- 1.8/alpine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.8/alpine/Dockerfile b/1.8/alpine/Dockerfile index c4588928..62b41667 100644 --- a/1.8/alpine/Dockerfile +++ b/1.8/alpine/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.5 -RUN apk add --no-cache ca-certificates +RUN apk add --no-cache ca-certificates it ENV GOLANG_VERSION 1.8 ENV GOLANG_SRC_URL https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz