-
Notifications
You must be signed in to change notification settings - Fork 215
No matching manifest for windows #9
Comments
@makutamatey I'm wondering if that was a transient error? I will take a look, but unfortunately it will have to be in a week when I have access to a Windows machine. |
@makutamatey just had a chance to look at this. The problem is due to the |
Hi, I removed the -alpine in both files. Now I get this: Step 1/9 : FROM golang:1.11 AS builder
docker : The command 'powershell -Command $ErrorActionPreference = 'Stop';
when doing docker build -t rlzdocker2/cheers2019 . on windows as windows docker. am I missing something? |
Made it work like this as a pure windows dock - probably a bit hackish as I am all new to this: FROM golang:1.11 AS builder ENV GIT_VERSION 2.15.1 RUN powershell -Command $ErrorActionPreference = 'Stop' ; RUN go get github.com/pdevine/go-asciisprite ENV CGO_ENABLED 0 RUN go build -a -ldflags '-extldflags "-static"' -o cheers cheers.go FROM mcr.microsoft.com/windows/nanoserver:1809 AS release-windows |
golang:1.12 work well |
An alternative is to go to Docker Desktop and select Switch to Linux Containers. |
When I build the code I cloned from this repo, I get this error: 1.11-alpine: Pulling from library/golang
no matching manifest for windows/amd64 10.0.17134 in the manifest list entries.
I don't seem to find any solution. Kindly help me. I am running docker for windows
The text was updated successfully, but these errors were encountered: