I’m setting up Docker Desktop on Windows. Working through the Quick Start Doodle tutorial, I’ve run into this problem, which I can’t seem to get around…
It seems like the root certificates are removed from the golang image on build. Could you try to add the ca-certificates on the apk add command so that they get re-installed with git?
Edit:
This builds for me
FROM golang:1.11-alpine AS builder
RUN apk add --no-cache git ca-certificates
RUN go get github.com/pdevine/go-asciisprite