Skip to content

Commit 106ea3a

Browse files
committed
Add test for golang/go#18555
1 parent 5c4fa3a commit 106ea3a

4 files changed

Lines changed: 11 additions & 0 deletions

File tree

golang-issue-18555/Dockerfile

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

golang-issue-18555/README.md

Whitespace-only changes.

golang-issue-18555/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker build -t golang-issue-18555 .

golang-issue-18555/test.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Write-Host Testing new golang image to build on volume mountpoint
2+
docker run -v "$(pwd)\..\webserver:C:\code" -w /code golang-issue-18555 go build webserver.go

0 commit comments

Comments
 (0)