Skip to content

Commit 441d0b6

Browse files
RDILTravisEz13
authored andcommitted
Use slim images for Deb9 (#224)
1 parent d93bbed commit 441d0b6

File tree

8 files changed

+10
-12
lines changed

8 files changed

+10
-12
lines changed

release/preview/centos7/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
],
1010
"SubImage": "test-deps",
1111
"TestProperties": {
12-
"size": 475
12+
"size": 501
1313
}
1414
}

release/preview/centos7/test-deps/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"test-deps"
1111
],
1212
"TestProperties": {
13-
"size": 497
13+
"size": 530
1414
}
1515
}

release/preview/debian9/docker/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Docker image file that describes an Debian 9 image with PowerShell installed from Microsoft APT Repo
2-
ARG fromTag=stretch
2+
ARG fromTag=stretch-slim
33
ARG imageRepo=debian
44

5-
65
FROM ${imageRepo}:${fromTag} AS installer-env
76

87
ARG PS_VERSION=6.2.0-preview.3

release/preview/debian9/getLatestTag.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# return objects representing the tags we need to base the debian image on Docker
55

66
# The versions of debian we care about
7-
$shortTags = @('stretch')
7+
$shortTags = @('stretch-slim')
88

99
$parent = Join-Path -Path $PSScriptRoot -ChildPath '..'
1010
$repoRoot = Join-Path -path (Join-Path -Path $parent -ChildPath '..') -ChildPath '..'
1111
$modulePath = Join-Path -Path $repoRoot -ChildPath 'tools\getDockerTags'
1212
Import-Module $modulePath
1313

14-
Get-DockerTags -ShortTags $shortTags -Image "debian" -FullTagFilter 'stretch-\d{8}[\.\d{1}]?' -AlternativeShortTag '9'
14+
Get-DockerTags -ShortTags $shortTags -Image "debian" -FullTagFilter 'stretch-\d{8}[\.\d{1}]?-slim' -AlternativeShortTag '9'

release/stable/centos7/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
],
1010
"SubImage": "test-deps",
1111
"TestProperties": {
12-
"size": 475
12+
"size": 500
1313
}
1414
}

release/stable/centos7/test-deps/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"test-deps"
1111
],
1212
"TestProperties": {
13-
"size": 497
13+
"size": 530
1414
}
1515
}

release/stable/debian9/docker/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Docker image file that describes an Debian 9 image with PowerShell installed from Microsoft APT Repo
2-
ARG fromTag=stretch
2+
ARG fromTag=stretch-slim
33
ARG imageRepo=debian
44

5-
65
FROM ${imageRepo}:${fromTag} AS installer-env
76

87
ARG PS_VERSION=6.2.0

release/stable/debian9/getLatestTag.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# return objects representing the tags we need to base the debian image on Docker
55

66
# The versions of debian we care about
7-
$shortTags = @('stretch')
7+
$shortTags = @('stretch-slim')
88

99
$parent = Join-Path -Path $PSScriptRoot -ChildPath '..'
1010
$repoRoot = Join-Path -path (Join-Path -Path $parent -ChildPath '..') -ChildPath '..'
1111
$modulePath = Join-Path -Path $repoRoot -ChildPath 'tools\getDockerTags'
1212
Import-Module $modulePath
1313

14-
Get-DockerTags -ShortTags $shortTags -Image "debian" -FullTagFilter 'stretch-\d{8}[\.\d{1}]?' -AlternativeShortTag '9'
14+
Get-DockerTags -ShortTags $shortTags -Image "debian" -FullTagFilter 'stretch-\d{8}[\.\d{1}]?-slim' -AlternativeShortTag '9'

0 commit comments

Comments
 (0)