From ff50325adeafbd7c3a97fcb097b08e0dcfc551d2 Mon Sep 17 00:00:00 2001 From: bumpsoo Date: Fri, 4 Apr 2025 11:13:25 +0000 Subject: [PATCH] feat: add env to set host network --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 2574f08..261e084 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,11 @@ ifdef WAYLAND_DISPLAY -v /run/user/$(shell id -u)/wayland-0:/run/user/$(shell id -u)/wayland-0 endif +ifdef HOST + RUN_OPTION += \ + --network host +endif + BUILD_OPTION=\ --build-arg USERNAME=$(shell id -un) \ --build-arg UID=$(shell id -u)