Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Bob Tanner
packer-windows
Commits
86c7414d
Unverified
Commit
86c7414d
authored
Jul 12, 2017
by
Stefan Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pull insider images from hub
parent
643e5813
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
scripts/docker/docker-pull-insider-async.ps1
scripts/docker/docker-pull-insider-async.ps1
+17
-0
windows_2016_insider.json
windows_2016_insider.json
+1
-0
No files found.
scripts/docker/docker-pull-insider-async.ps1
0 → 100644
View file @
86c7414d
function
DockerPull
{
Param
([
string
]
$image
)
Write-Host
Installing
$image
...
$j
=
Start-Job
-ScriptBlock
{
docker
pull
$args
[
0
]
}
-ArgumentList
$image
while
(
$j
.
JobStateInfo
.
state
-ne
"Completed"
-And
$j
.
JobStateInfo
.
state
-ne
"Failed"
)
{
Write-Host
$j
.
JobStateInfo
.
state
Start-Sleep
10
}
$results
=
Receive-Job
-Job
$j
$results
}
DockerPull
microsoft/windowsservercore-insider
DockerPull
microsoft/nanoserver-insider
DockerPull
microsoft/nanoserver-insider-powershell
windows_2016_insider.json
View file @
86c7414d
...
...
@@ -115,6 +115,7 @@
"scripts"
:
[
"./scripts/docker/add-docker-group.ps1"
,
"./scripts/docker/10/install-docker.ps1"
,
"./scripts/docker/docker-pull-insider-async.ps1"
,
"./scripts/docker/open-docker-insecure-port.ps1"
,
"./scripts/docker/remove-docker-key-json.ps1"
,
"./scripts/docker/disable-windows-defender.ps1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment