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.
14 lines
458 B
14 lines
458 B
|
2 months ago
|
[CmdletBinding()]
|
||
|
|
param(
|
||
|
|
[string]$Target = 'fet3568-c'
|
||
|
|
)
|
||
|
|
|
||
|
|
$ErrorActionPreference = 'Stop'
|
||
|
|
$RepoRoot = Resolve-Path (Join-Path $PSScriptRoot '..\..')
|
||
|
|
$DockerConfig = Join-Path $RepoRoot 'docker\.docker-config'
|
||
|
|
New-Item -ItemType Directory -Force $DockerConfig | Out-Null
|
||
|
|
$env:DOCKER_CONFIG = $DockerConfig
|
||
|
|
$env:TERA_TARGET = $Target
|
||
|
|
|
||
|
|
docker compose -f (Join-Path $RepoRoot 'docker\docker-compose.yml') run --rm -e TERA_TARGET=$Target ok3568-dev /bin/bash
|