From 8015a7345e8d3df0b68e3dce0d0499c763d82dc8 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Wed, 21 Nov 2018 10:53:46 -0600 Subject: [PATCH] Create build.ps1 --- bin/windows/build.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bin/windows/build.ps1 diff --git a/bin/windows/build.ps1 b/bin/windows/build.ps1 new file mode 100644 index 0000000..a9263ac --- /dev/null +++ b/bin/windows/build.ps1 @@ -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 .