File tree Expand file tree Collapse file tree 3 files changed +4
-63
lines changed Expand file tree Collapse file tree 3 files changed +4
-63
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,18 +28,10 @@ try {
28
28
foreach ($dockerfile in (Get-ChildItem - Path $DOCKER - Filter " Dockerfile-*" ).FullName) {
29
29
$os = $dockerfile.split (" Dockerfile-" )[1 ]
30
30
Write-Output $os
31
- if ($os -eq " ubuntu-18.04" ) {
32
- docker build -- build-arg VERSION= $version `
33
- -- build-arg BUILD_DATE= $date `
34
- -- tag $DockerImageName ' :' $version " -" $os `
35
- -- tag $DockerImageName ' :latest' `
36
- -f $dockerfile $DOCKER
37
- }else {
38
- docker build -- build-arg VERSION= $version `
39
- -- build-arg BUILD_DATE= $date `
40
- -- tag $DockerImageName ' :' $version " -" $os `
41
- -f $dockerfile $DOCKER
42
- }
31
+ docker build -- build-arg VERSION= $version `
32
+ -- build-arg BUILD_DATE= $date `
33
+ -- tag $DockerImageName ' :' $version " -" $os `
34
+ -f $dockerfile $DOCKER
43
35
44
36
}
45
37
} catch {
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ function Install-PowerShell {
75
75
}
76
76
77
77
# Image "macOS-10.15" preinstalled Az modules
78
- # Image "vs2017-win2016" and "ubuntu-18.04" preinstalled AzureRM modules.
79
78
80
79
# Remove Az.* modules
81
80
. " $PSScriptRoot /Common.ps1"
You can’t perform that action at this time.
0 commit comments