build: make embedded pi images reproducible
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$ErrorActionPreference = "Continue"
|
||||
|
||||
$repositoryRoot = Split-Path -Parent $PSScriptRoot
|
||||
Set-Location $repositoryRoot
|
||||
|
||||
& docker compose -f compose.yaml -f deploy/compose.local.yaml build --pull
|
||||
$exitCode = $LASTEXITCODE
|
||||
|
||||
if ($exitCode -eq 0) {
|
||||
Write-Output "Next: docker compose -f compose.yaml -f deploy/compose.local.yaml up -d"
|
||||
}
|
||||
|
||||
exit $exitCode
|
||||
Reference in New Issue
Block a user