You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
501 B

  1. Param(
  2. [parameter(Mandatory=$false)][string] $rootPath,
  3. [parameter(Mandatory=$false)][bool]$buildBits=$true
  4. )
  5. $scriptPath = Split-Path $script:MyInvocation.MyCommand.Path
  6. if ([string]::IsNullOrEmpty($rootPath)) {
  7. $rootPath = "$scriptPath\.."
  8. }
  9. Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
  10. if ($buildBits) {
  11. & $scriptPath\build-bits.ps1 -rootPath $rootPath
  12. }
  13. docker-compose -f "$rootPath\docker-compose-windows.yml" -f "$rootPath\docker-compose.override.yml" up