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 \
4242 LC_ALL=en_US.UTF-8 \
4343 LANG=en_US.UTF-8 \
4444 # 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
4647
4748# Install dotnet dependencies and ca-certificates
4849RUN 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
88
99FROM ${BaseImage}
1010
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
1415
1516# workaround for Alpine to run in Azure DevOps
1617ENV 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 \
4242 LC_ALL=en_US.UTF-8 \
4343 LANG=en_US.UTF-8 \
4444 # 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
4647
4748# Install dotnet dependencies and ca-certificates
4849RUN 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
88
99FROM ${BaseImage}
1010
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
1415
1516# workaround for Alpine to run in Azure DevOps
1617ENV NODE_NO_WARNINGS=1
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
1414 LC_ALL=en_US.UTF-8 \
1515 LANG=en_US.UTF-8 \
1616 # 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
1819
1920# Install dependencies and clean up
2021RUN 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 \
1010 openssl \
1111 && yum clean all
1212
13+ ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-CentOS-7
14+
1315# Define args needed only for the labels
1416ARG VCS_REF="none"
1517ARG 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 \
4040 LC_ALL=en_US.UTF-8 \
4141 LANG=en_US.UTF-8 \
4242 # 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
4445
4546# Install dependencies and clean up
4647RUN apt-get update \
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ RUN apt-get update \
1515 && apt-get clean \
1616 && rm -rf /var/lib/apt/lists/*
1717
18+ ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-Debian-10
19+
1820# Define args needed only for the labels
1921ARG VCS_REF="none"
2022ARG 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 \
1717 LC_ALL=en_US.UTF-8 \
1818 LANG=en_US.UTF-8 \
1919 # 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
2122
2223# Install dependencies and clean up
2324RUN apt-get update \
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ RUN apt-get update \
1515 && apt-get clean \
1616 && rm -rf /var/lib/apt/lists/*
1717
18+ ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-TestDeps-Debian-9
19+
1820# Define args needed only for the labels
1921ARG VCS_REF="none"
2022ARG IMAGE_NAME=mcr.microsoft.com/powershell/test-deps:debian-9
You can’t perform that action at this time.
0 commit comments