Skip to content

Commit 195a969

Browse files
committed
Fetch CL 41834
1 parent aaeff90 commit 195a969

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

golang-issue-18555/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
FROM golang:1.8-windowsservercore
2-
WORKDIR /compile
2+
RUN mv /go /go1.8.1
3+
WORKDIR /
34
RUN git clone https://github.com/golang/go
4-
WORKDIR /compile/go/src
5-
ENV GOROOT_BOOTSTRAP C:/go
5+
WORKDIR /go/src
6+
ENV GOROOT_BOOTSTRAP C:/go1.8.1
67
ENV CGO_ENABLED 0
7-
RUN cmd /C all.bat
8-
RUN cp ..\bin\*.exe \go\bin
8+
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

Comments
 (0)