We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaeff90 commit 195a969Copy full SHA for 195a969
1 file changed
golang-issue-18555/Dockerfile
@@ -1,8 +1,10 @@
1
FROM golang:1.8-windowsservercore
2
-WORKDIR /compile
+RUN mv /go /go1.8.1
3
+WORKDIR /
4
RUN git clone https://github.com/golang/go
-WORKDIR /compile/go/src
5
-ENV GOROOT_BOOTSTRAP C:/go
+WORKDIR /go/src
6
+ENV GOROOT_BOOTSTRAP C:/go1.8.1
7
ENV CGO_ENABLED 0
-RUN cmd /C all.bat
8
-RUN cp ..\bin\*.exe \go\bin
+RUN git fetch https://go.googlesource.com/go refs/changes/34/41834/3 ; \
9
+ git checkout FETCH_HEAD
10
+RUN cmd /C make.bat
0 commit comments