diff --git a/go/Dockerfile.alpine b/go/Dockerfile.alpine index 0881d1a27..09e1ec032 100644 --- a/go/Dockerfile.alpine +++ b/go/Dockerfile.alpine @@ -1,7 +1,7 @@ FROM golang:alpine -# Install VCS tools to support "go get" commands. -RUN apk add --update --no-cache git mercurial subversion +# Install VCS tools to support "go get" commands and install gcc. +RUN apk add --update --no-cache git mercurial subversion build-base # We blank out the GOPATH because the base image sets it, and # if the user of this build step does *not* set it, we want to diff --git a/go/Dockerfile.debian b/go/Dockerfile.debian index f8d9505e5..b9d30d581 100644 --- a/go/Dockerfile.debian +++ b/go/Dockerfile.debian @@ -1,7 +1,7 @@ FROM golang -# Install VCS tools to support "go get" commands. -RUN apt-get update -qqy && apt-get install -qqy git mercurial subversion +# Install VCS tools to support "go get" commands and install gcc. +RUN apt-get update -qqy && apt-get install -qqy git mercurial subversion gcc # We blank out the GOPATH because the base image sets it, and # if the user of this build step does *not* set it, we want to diff --git a/go/Dockerfile.wheezy b/go/Dockerfile.wheezy index a76094d21..988fa2877 100644 --- a/go/Dockerfile.wheezy +++ b/go/Dockerfile.wheezy @@ -1,7 +1,7 @@ FROM golang:wheezy -# Install VCS tools to support "go get" commands. -RUN apt-get update -qqy && apt-get install -qqy git mercurial subversion +# Install VCS tools to support "go get" commands and install gcc. +RUN apt-get update -qqy && apt-get install -qqy git mercurial subversion gcc # We blank out the GOPATH because the base image sets it, and # if the user of this build step does *not* set it, we want to