forked from m-kostrzewa/docker-windows-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
14 lines (13 loc) · 803 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This dockerfile will build a remote driver for Windows.
# nativebuildimage is required for this (has all dependencies resolved).
# See Dockerfile.windows in official docker repo to see how
# to obtain it.
#
# Steps to build (similar to instructions in Dockerfile.windows):
# >> git clone https://github.com/m-kostrzewa/docker-windows-driver c:\go\src\github.com\m-kostrzewa\docker-windows-driver
# >> cd c:\go\src\github.com\m-kostrzewa\docker-windows-driver
# >> docker build -t driverbuildimage -f Dockerfile .
# >> docker run --name remotedriver driverbuildimage sh -c 'cd /c/go/bin; go build github.com/m-kostrzewa/docker-windows-driver'
# >> docker cp remotedriver:c:\go\bin\docker-windows-driver.exe OUTPUT_PATH
FROM nativebuildimage
COPY . /go/src/github.com/m-kostrzewa/docker-windows-driver