Enable building arbitrary forks and branches

This commit is contained in:
Andrew Schwartzmeyer committed 2016-09-12 15:01:19 -07:00
1 parent d76cc0f600
commit ceed98e33d
5 files changed
+20 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# This is intended to be used inside Docker containers
git clone --recursive https://github.com/PowerShell/PowerShell.git
git clone --recursive https://github.com/$env:fork/PowerShell.git -b $env:branch
Set-Location PowerShell
Import-Module ./build.psm1
Start-PSBootstrap -Package -NoSudo
+3
View File
@@ -1,6 +1,9 @@
FROM powershell/powershell:stable-centos7
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG fork=PowerShell
ARG branch=master
COPY bootstrap.ps1 /
RUN powershell -f bootstrap.ps1 \
&& yum install -y PowerShell/powershell*.rpm
+3
View File
@@ -1,6 +1,9 @@
FROM powershell/powershell:stable-ubuntu14.04
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG fork=PowerShell
ARG branch=master
COPY bootstrap.ps1 /
RUN powershell -f bootstrap.ps1 \
&& dpkg -i PowerShell/powershell*.deb
+3
View File
@@ -1,6 +1,9 @@
FROM powershell/powershell:stable-ubuntu16.04
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG fork=PowerShell
ARG branch=master
COPY bootstrap.ps1 /
RUN powershell -f bootstrap.ps1 \
&& dpkg -i PowerShell/powershell*.deb