diff --git a/docker/.gitignore b/docker/.gitignore index 7a18508fad..9cc0e40f1b 100644 --- a/docker/.gitignore +++ b/docker/.gitignore @@ -1,3 +1,2 @@ logs/**/*.log packages/ -nightly/*/bootstrap.ps1 diff --git a/docker/nightly/centos7/bootstrap.ps1 b/docker/nightly/centos7/bootstrap.ps1 new file mode 100644 index 0000000000..d48c9468d3 --- /dev/null +++ b/docker/nightly/centos7/bootstrap.ps1 @@ -0,0 +1,8 @@ +# This is intended to be used inside Docker containers + +git clone --recursive https://github.com/$env:fork/PowerShell.git -b $env:branch +Set-Location PowerShell +Import-Module ./build.psm1 +Start-PSBootstrap -Package -NoSudo +Start-PSBuild -Crossgen +Start-PSPackage diff --git a/docker/nightly/ubuntu14.04/bootstrap.ps1 b/docker/nightly/ubuntu14.04/bootstrap.ps1 new file mode 100644 index 0000000000..d48c9468d3 --- /dev/null +++ b/docker/nightly/ubuntu14.04/bootstrap.ps1 @@ -0,0 +1,8 @@ +# This is intended to be used inside Docker containers + +git clone --recursive https://github.com/$env:fork/PowerShell.git -b $env:branch +Set-Location PowerShell +Import-Module ./build.psm1 +Start-PSBootstrap -Package -NoSudo +Start-PSBuild -Crossgen +Start-PSPackage diff --git a/docker/nightly/ubuntu16.04/bootstrap.ps1 b/docker/nightly/ubuntu16.04/bootstrap.ps1 new file mode 100644 index 0000000000..d48c9468d3 --- /dev/null +++ b/docker/nightly/ubuntu16.04/bootstrap.ps1 @@ -0,0 +1,8 @@ +# This is intended to be used inside Docker containers + +git clone --recursive https://github.com/$env:fork/PowerShell.git -b $env:branch +Set-Location PowerShell +Import-Module ./build.psm1 +Start-PSBootstrap -Package -NoSudo +Start-PSBuild -Crossgen +Start-PSPackage