File tree Expand file tree Collapse file tree 21 files changed +46
-19
lines changed Expand file tree Collapse file tree 21 files changed +46
-19
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION \
42
42
LC_ALL=en_US.UTF-8 \
43
43
LANG=en_US.UTF-8 \
44
44
# set a fixed location for the Module analysis cache
45
- PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
45
+ PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
46
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Alpine-3.8
46
47
47
48
# Install dotnet dependencies and ca-certificates
48
49
RUN apk add --no-cache \
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ FROM node:10.15.3-alpine as node
8
8
9
9
FROM ${BaseImage}
10
10
11
- ENV NODE_VERSION 10.15.3
12
- ENV YARN_VERSION=1.13.0
13
- ENV NVM_DIR="/root/.nvm"
11
+ ENV NODE_VERSION 10.15.3 \
12
+ YARN_VERSION=1.13.0 \
13
+ NVM_DIR="/root/.nvm" \
14
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-Alpine-3.8
14
15
15
16
# workaround for Alpine to run in Azure DevOps
16
17
ENV NODE_NO_WARNINGS=1
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION \
42
42
LC_ALL=en_US.UTF-8 \
43
43
LANG=en_US.UTF-8 \
44
44
# set a fixed location for the Module analysis cache
45
- PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
45
+ PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
46
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Alpine-3.9
46
47
47
48
# Install dotnet dependencies and ca-certificates
48
49
RUN apk add --no-cache \
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ FROM node:10.15.3-alpine as node
8
8
9
9
FROM ${BaseImage}
10
10
11
- ENV NODE_VERSION 10.15.3
12
- ENV YARN_VERSION=1.13.0
13
- ENV NVM_DIR="/root/.nvm"
11
+ ENV NODE_VERSION 10.15.3 \
12
+ YARN_VERSION=1.13.0 \
13
+ NVM_DIR="/root/.nvm" \
14
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-Alpine-3.9
14
15
15
16
# workaround for Alpine to run in Azure DevOps
16
17
ENV NODE_NO_WARNINGS=1
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
14
14
LC_ALL=en_US.UTF-8 \
15
15
LANG=en_US.UTF-8 \
16
16
# set a fixed location for the Module analysis cache
17
- PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
17
+ PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
18
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-CentOS-7
18
19
19
20
# Install dependencies and clean up
20
21
RUN curl -sSL ${PS_PACKAGE_URL} -o /tmp/powershell.rpm \
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ RUN yum install -y \
10
10
openssl \
11
11
&& yum clean all
12
12
13
+ ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-CentOS-7
14
+
13
15
# Define args needed only for the labels
14
16
ARG VCS_REF="none"
15
17
ARG IMAGE_NAME=mcr.microsoft.com/powershell/test-deps:centos-7
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ ENV PS_INSTALL_FOLDER=/opt/microsoft/powershell/$PS_INSTALL_VERSION \
40
40
LC_ALL=en_US.UTF-8 \
41
41
LANG=en_US.UTF-8 \
42
42
# set a fixed location for the Module analysis cache
43
- PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
43
+ PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
44
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Debian-10
44
45
45
46
# Install dependencies and clean up
46
47
RUN apt-get update \
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ RUN apt-get update \
15
15
&& apt-get clean \
16
16
&& rm -rf /var/lib/apt/lists/*
17
17
18
+ ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-Debian-10
19
+
18
20
# Define args needed only for the labels
19
21
ARG VCS_REF="none"
20
22
ARG IMAGE_NAME=mcr.microsoft.com/powershell/test-deps:debian-9
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
17
17
LC_ALL=en_US.UTF-8 \
18
18
LANG=en_US.UTF-8 \
19
19
# set a fixed location for the Module analysis cache
20
- PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache
20
+ PSModuleAnalysisCachePath=/var/cache/microsoft/powershell/PSModuleAnalysisCache/ModuleAnalysisCache \
21
+ POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-Debian-9
21
22
22
23
# Install dependencies and clean up
23
24
RUN apt-get update \
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ RUN apt-get update \
15
15
&& apt-get clean \
16
16
&& rm -rf /var/lib/apt/lists/*
17
17
18
+ ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-Debian-9
19
+
18
20
# Define args needed only for the labels
19
21
ARG VCS_REF="none"
20
22
ARG IMAGE_NAME=mcr.microsoft.com/powershell/test-deps:debian-9
You can’t perform that action at this time.
0 commit comments