Skip to content

Commit

Permalink
Add test for golang/go#18555
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanScherer committed Apr 28, 2017
1 parent 5c4fa3a commit 106ea3a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions golang-issue-18555/Dockerfile
@@ -0,0 +1,8 @@
FROM golang:1.8-windowsservercore
WORKDIR /compile
RUN git clone https://github.com/golang/go
WORKDIR /compile/go/src
ENV GOROOT_BOOTSTRAP C:/go
ENV CGO_ENABLED 0
RUN cmd /C all.bat
RUN cp ..\bin\*.exe \go\bin
Empty file added golang-issue-18555/README.md
Empty file.
1 change: 1 addition & 0 deletions golang-issue-18555/build.ps1
@@ -0,0 +1 @@
docker build -t golang-issue-18555 .
2 changes: 2 additions & 0 deletions golang-issue-18555/test.ps1
@@ -0,0 +1,2 @@
Write-Host Testing new golang image to build on volume mountpoint
docker run -v "$(pwd)\..\webserver:C:\code" -w /code golang-issue-18555 go build webserver.go

0 comments on commit 106ea3a

Please sign in to comment.