Skip to content

Commit 3064367

Browse files
committed
Add ubuntu16 docker file to build scripts
1 parent 90e7957 commit 3064367

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tools/docker/ubuntu16/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM mcr.microsoft.com/powershell:ubuntu-16.04
2+
3+
ENV __InContainer 1
4+
5+
RUN apt update -qq && apt install -q -y wget git apt-transport-https
6+
RUN wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb
7+
8+
RUN apt update -qq && \
9+
cd / && \
10+
git clone https://github.com/JamesWTruher/PSScriptAnalyzer
11+
12+
RUN pwsh -c 'save-module -name platyps,pester -path $PSHOME/Modules'

0 commit comments

Comments
 (0)