Skip to content

Commit

Permalink
Create build.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey authored Nov 21, 2018
1 parent 98f4768 commit 8015a73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/windows/build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
foreach($line in Get-Content ./common.cmd) {
[Environment]::SetEnvironmentVariable($line.split('=')[0], $line.split('=')[1], "Process")
}
$fullimagename = $($env:maintainer) + '/' + $($env:imagename)

echo "Building new Docker image $maintainer/$imagename"
docker build --rm -t $fullimagename .

0 comments on commit 8015a73

Please sign in to comment.