fix: add seccomp=unconfined and SYS_PTRACE to Windows Docker build for WSL2 Wine compatibility
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user