From 14690f20cc15405589da52161415221ef47010e4 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 11 Oct 2016 13:56:42 -0700 Subject: [PATCH] Commit copies of bootstrap.ps1 for automated builds (#2458) While this is copied by `launch.sh`, it needs to exist in each folder for the automated Docker hub builds. --- docker/.gitignore | 1 - docker/nightly/centos7/bootstrap.ps1 | 8 ++++++++ docker/nightly/ubuntu14.04/bootstrap.ps1 | 8 ++++++++ docker/nightly/ubuntu16.04/bootstrap.ps1 | 8 ++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 docker/nightly/centos7/bootstrap.ps1 create mode 100644 docker/nightly/ubuntu14.04/bootstrap.ps1 create mode 100644 docker/nightly/ubuntu16.04/bootstrap.ps1 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