ci: copy runtime options through Docker API
CI / validate (pull_request) Failing after 3m2s

This commit is contained in:
Dennis Juhler Aagaard
2026-09-24 20:09:06 +02:00
parent 712981af50
commit b34d9b80fa
2 changed files with 11 additions and 3 deletions
+3 -3
View File
@@ -58,12 +58,12 @@ PY
start_container() {
local container="$1"
docker run --detach \
--name "$container" \
docker create --name "$container" \
--platform linux/amd64 \
--mount "type=bind,src=${options_file},dst=/data/options.json,readonly" \
--publish 127.0.0.1::8080 \
"$image" >/dev/null
docker cp "$options_file" "$container:/data/options.json"
docker start "$container" >/dev/null
}
host_port() {