forked from docker/labs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use official golang, fix trailing space
- Loading branch information
1 parent
94ddff6
commit 0412d5b
Showing
2 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
# escape=` | ||
|
||
# REMARK - when Go 1.8 is released we can use an official image for the base. | ||
# There is an issue with Go 1.7 and Windows 2016 SYMLINKD directories which causes Docker volumes and host mounts to fail. | ||
# This registry build uses a custom build of Go (@a2bd5c5) from the master branch to fix - https://github.com/golang/go/issues/15978 | ||
|
||
FROM sixeyed/golang:windowsservercore | ||
FROM golang:windowsservercore | ||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"] | ||
|
||
CMD .\go get github.com/docker/distribution/cmd/registry ; ` | ||
CMD go get github.com/docker/distribution/cmd/registry ; ` | ||
cp \"$env:GOPATH\bin\registry.exe\" c:\out\ ; ` | ||
cp \"$env:GOPATH\src\github.com\docker\distribution\cmd\registry\config-example.yml\" c:\out\config.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters