Skip to content

Commit

Permalink
e2e: fix windows client docker (hashicorp#17572)
Browse files Browse the repository at this point in the history
the windows docker install script stopped working.

after trying various things to fix the script,
I opted instead for a base image that comes with
docker already installed.

error output during build was:
  Installing Docker.
  WARNING: Cannot find path 'C:\Users\Administrator\AppData\Local\Temp\DockerMsftProvider\DockerDefault_DockerSearchIndex.json' because it does not exist.
  WARNING: Cannot bind argument to parameter 'downloadURL' because it is an empty string.
  WARNING: The property 'AbsoluteUri' cannot be found on this object. Verify that the property exists.
  WARNING: The property 'RequestMessage' cannot be found on this object. Verify that the property exists.
  Failed to install Docker.
  Install-Package : No match was found for the specified search criteria and package name 'docker'.
  • Loading branch information
gulducat authored Jun 20, 2023
1 parent 2520cb2 commit 748aea1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
3 changes: 1 addition & 2 deletions e2e/terraform/packer/windows-2016-amd64.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ source "amazon-ebs" "latest_windows_2016" {

source_ami_filter {
filters = {
name = "Windows_Server-2016-English-Full-Base-*"
name = "Windows_Server-2016-English-Full-Containers-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
Expand All @@ -44,7 +44,6 @@ build {
"windows-2016-amd64/disable-windows-updates.ps1",
"windows-2016-amd64/fix-tls.ps1",
"windows-2016-amd64/install-nuget.ps1",
"windows-2016-amd64/install-docker.ps1",
"windows-2016-amd64/install-consul.ps1",
"windows-2016-amd64/install-nomad.ps1"
]
Expand Down
43 changes: 0 additions & 43 deletions e2e/terraform/packer/windows-2016-amd64/install-docker.ps1

This file was deleted.

0 comments on commit 748aea1

Please sign in to comment.