feat: add env to set host network
This commit is contained in:
parent
e752b042be
commit
ff50325ade
1 changed files with 5 additions and 0 deletions
5
Makefile
5
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue