Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bob Tanner
packer-windows
Commits
86c7414d
Unverified
Commit
86c7414d
authored
Jul 12, 2017
by
Stefan Scherer
Browse files
Pull insider images from hub
parent
643e5813
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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