feat: add env to set host network

This commit is contained in:
bumpsoo 2025-04-04 11:13:25 +00:00
parent e752b042be
commit ff50325ade

View file

@ -10,6 +10,11 @@ ifdef WAYLAND_DISPLAY
-v /run/user/$(shell id -u)/wayland-0:/run/user/$(shell id -u)/wayland-0 -v /run/user/$(shell id -u)/wayland-0:/run/user/$(shell id -u)/wayland-0
endif endif
ifdef HOST
RUN_OPTION += \
--network host
endif
BUILD_OPTION=\ BUILD_OPTION=\
--build-arg USERNAME=$(shell id -un) \ --build-arg USERNAME=$(shell id -un) \
--build-arg UID=$(shell id -u) --build-arg UID=$(shell id -u)