diff --git a/Dockerfile.magneticod b/Dockerfile.magneticod index 4c3361a..3370dad 100644 --- a/Dockerfile.magneticod +++ b/Dockerfile.magneticod @@ -2,7 +2,9 @@ # Start from a Debian image with the latest version of Go installed # and a workspace (GOPATH) configured at /go. -FROM golang:1.10 AS build +FROM golang:1.10-alpine AS build + +RUN apk add --no-cache build-base curl git # Copy the local package files to the container's workspace. ADD ./Gopkg.toml /go/src/github.com/boramalper/magnetico/ diff --git a/Dockerfile.magneticow b/Dockerfile.magneticow index 05cc796..66cfba7 100644 --- a/Dockerfile.magneticow +++ b/Dockerfile.magneticow @@ -2,7 +2,9 @@ # Start from a Debian image with the latest version of Go installed # and a workspace (GOPATH) configured at /go. -FROM golang:1.10 AS build +FROM golang:1.10-alpine AS build + +RUN apk add --no-cache build-base curl git # Copy the local package files to the container's workspace. ADD ./Gopkg.toml /go/src/github.com/boramalper/magnetico/