File tree 19 files changed +42
-102
lines changed
ubuntu18.04/test-deps/docker
unstable/clearlinux/docker
19 files changed +42
-102
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) Microsoft Corporation.
2
2
# Licensed under the MIT License.
3
3
4
- ARG fromTag=bionic
5
- ARG imageRepo=arm32v7/ubuntu
4
+ FROM arm32v7/ubuntu:bionic AS installer-env
6
5
7
- FROM ${imageRepo}:${fromTag} AS installer-env
8
6
9
7
ARG PS_VERSION=6.2.3
10
8
ENV PS_PACKAGE=powershell-${PS_VERSION}-linux-arm32.tar.gz
@@ -39,7 +37,7 @@ RUN ls -l /tmp/powershell.tar.gz
39
37
# Unzip the Linux tar.gz
40
38
RUN tar zxf /tmp/powershell.tar.gz -C ${PS_INSTALL_FOLDER}
41
39
42
- FROM ${imageRepo}:${fromTag} AS final-image
40
+ FROM arm32v7/ubuntu:bionic AS final-image
43
41
44
42
# Define Args and Env needed to create links
45
43
ARG PS_INSTALL_VERSION=7-lts
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
"tagTemplates" : [
10
10
" lts-arm32v7-ubuntu-#shorttag#"
11
11
],
12
+ "shortTags" : [
13
+ {"Tag" : " bionic" }
14
+ ],
12
15
"TestProperties" : {
13
16
"size" : 550 ,
14
17
"Arm32" : true
Original file line number Diff line number Diff line change 1
- # Docker image file that describes an CentOS7 image with PowerShell installed from Microsoft YUM Repo
2
- ARG fromTag=7
3
- ARG imageRepo=centos
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.
4
3
5
- FROM ${imageRepo}:${fromTag} AS installer-env
4
+ FROM centos:7 AS installer-env
6
5
7
6
ARG PS_VERSION=7.0.0
8
7
ARG PACKAGE_VERSION=7.0.0
9
8
ARG PS_PACKAGE=powershell-lts-${PACKAGE_VERSION}-1.rhel.7.x86_64.rpm
10
9
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE}
11
10
12
- ARG fromTag=7
13
- ARG imageRepo=centos
14
-
15
11
# Define ENVs for Localization/Globalization
16
12
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
17
13
LC_ALL=en_US.UTF-8 \
18
14
LANG=en_US.UTF-8 \
19
15
# set a fixed location for the Module analysis cache
20
16
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
21
- POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-CentOS-${fromTag}
17
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-CentOS-7
22
18
23
19
# Install dependencies and clean up
24
20
RUN curl -sSL ${PS_PACKAGE_URL} -o /tmp/powershell.rpm \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
"tagTemplates" : [
7
7
" lts-centos-#shorttag#"
8
8
],
9
+ "shortTags" : [
10
+ {"Tag" : " 7" }
11
+ ],
9
12
"SubImage" : " test-deps" ,
10
13
"TestProperties" : {
11
14
"size" : 550
Original file line number Diff line number Diff line change 1
- # Docker image file that describes an CentOS7 image with PowerShell installed from Microsoft YUM Repo
2
- ARG fromTag=8
3
- ARG imageRepo=centos
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.
4
3
5
- FROM ${imageRepo}:${fromTag} AS installer-env
4
+ FROM centos:8 AS installer-env
6
5
7
6
ARG PS_VERSION=7.0.0
8
7
ARG PACKAGE_VERSION=7.0.0
9
8
ARG PS_PACKAGE=powershell-lts-${PACKAGE_VERSION}-1.rhel.7.x86_64.rpm
10
9
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE}
11
10
12
- ARG fromTag=7
13
- ARG imageRepo=centos
14
-
15
11
# Define ENVs for Localization/Globalization
16
12
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
17
13
LC_ALL=en_US.UTF-8 \
18
14
LANG=en_US.UTF-8 \
19
15
# set a fixed location for the Module analysis cache
20
16
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
21
- POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-CentOS-${fromTag}
17
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-CentOS-8
22
18
23
19
# Install dependencies and clean up
24
20
RUN curl -sSL ${PS_PACKAGE_URL} -o /tmp/powershell.rpm \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6
6
"tagTemplates" : [
7
7
" lts-centos-#shorttag#"
8
8
],
9
+ "shortTags" : [
10
+ {"Tag" : " 8" }
11
+ ],
9
12
"SubImage" : " test-deps" ,
10
13
"TestProperties" : {
11
14
"size" : 725
Original file line number Diff line number Diff line change
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.
3
+
1
4
# Docker image file that describes an Ubuntu16.04 image with PowerShell installed from Microsoft APT Repo
2
- ARG fromTag=16.04
3
- ARG imageRepo=ubuntu
4
5
5
- FROM ${imageRepo}:${fromTag} AS installer-env
6
+ FROM ubuntu:16.04 AS installer-env
6
7
7
8
ARG PS_VERSION=7.0.0-rc.1
8
9
ARG PS_PACKAGE=powershell-lts_${PS_VERSION}-1.ubuntu.16.04_amd64.deb
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
"UseLinuxVersion" : false ,
4
4
"PackageFormat" : " powershell-lts_${PS_VERSION}-1.ubuntu.16.04_amd64.deb" ,
5
5
"osVersion" : " Ubuntu 16.04" ,
6
- "SkipGssNtlmSspTests" : false ,
7
6
"tagTemplates" : [
8
7
" lts-ubuntu-#shorttag#"
9
8
],
9
+ "shortTags" : [
10
+ {"Tag" : " xenial" },
11
+ {"Tag" : " 16.04" }
12
+ ],
13
+ "SkipGssNtlmSspTests" : false ,
10
14
"TestProperties" : {
11
15
"size" : 395
12
16
},
Original file line number Diff line number Diff line change 1
- # Docker image file that describes an Ubuntu18.04 image with PowerShell installed from Microsoft APT Repo
2
- ARG fromTag=18.04
3
- ARG imageRepo=ubuntu
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.
4
3
5
- FROM ${imageRepo}:${fromTag} AS installer-env
4
+ # Docker image file that describes an Ubuntu image with PowerShell installed from Microsoft APT Repo
5
+ FROM ubuntu:18.04 AS installer-env
6
6
7
+ # Define Args for the needed to add the package
7
8
ARG PS_VERSION=7.0.0-rc.1
8
9
ARG PS_PACKAGE=powershell-lts_${PS_VERSION}-1.ubuntu.18.04_amd64.deb
9
10
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
"tagTemplates" : [
8
8
" lts-ubuntu-#shorttag#"
9
9
],
10
+ "shortTags" : [
11
+ {"Tag" : " bionic" },
12
+ {"Tag" : " 18.04" }
13
+ ],
10
14
"TestProperties" : {
11
15
"size" : 355
12
16
},
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ RUN curl -sSL ${PS_PACKAGE_URL} -o /tmp/powershell.rpm \
34
34
openssh-clients \
35
35
&& yum upgrade-minimal -y --security \
36
36
&& yum clean all \
37
- # && localedef --charmap=UTF-8 --inputfile=en_US $LANG \
38
37
# remove powershell package
39
38
&& rm /tmp/powershell.rpm \
40
39
&& ln -sf /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh \
Original file line number Diff line number Diff line change 12
12
],
13
13
"SubImage" : " test-deps" ,
14
14
"TestProperties" : {
15
- "size" : 723
15
+ "size" : 725
16
16
}
17
17
}
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ RUN apt-get update \
14
14
&& apt-get clean \
15
15
&& rm -rf /var/lib/apt/lists/*
16
16
17
+ ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-Ubuntu-18.04
18
+
17
19
# Use PowerShell as the default shell
18
20
# Use array to avoid Docker prepending /bin/sh -c
19
21
CMD [ "pwsh" ]
Original file line number Diff line number Diff line change 1
- # Copyright (c) Microsoft Corporation.
1
+ # Copyright (c) Microsoft Corporation.
2
2
# Licensed under the MIT License.
3
3
#
4
4
# Docker image file that describes an Intel Clear Linux image with PowerShell
@@ -26,7 +26,7 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION \
26
26
PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
27
27
# Opt out of SocketsHttpHandler in DotNet Core 2.1 to use HttpClientHandler
28
28
DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0 \
29
- POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-ClearLinux-${fromTag}
29
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-ClearLinux
30
30
31
31
# Installation
32
32
RUN \
You can’t perform that action at this time.
0 commit comments