fix: add seccomp=unconfined and SYS_PTRACE to Windows Docker build for WSL2 Wine compatibility

This commit is contained in:
2026-05-06 13:27:16 +02:00
parent 3f90a46fa5
commit f0654310e1
+2 -2
View File
@@ -48,10 +48,10 @@ else
info "not doing fresh clone."
fi
DOCKER_RUN_FLAGS=""
DOCKER_RUN_FLAGS="--security-opt seccomp=unconfined --cap-add SYS_PTRACE"
if sh -c ": >/dev/tty" >/dev/null 2>/dev/null; then
info "/dev/tty is available and usable"
DOCKER_RUN_FLAGS="-it"
DOCKER_RUN_FLAGS="$DOCKER_RUN_FLAGS -it"
fi
info "building binary..."