Skip to content

Commit

Permalink
[DOCKER] always adopt the first network adapter (#1850)
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiJuWu authored Nov 3, 2024
1 parent 6fbeaa5 commit 3a217db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker_build_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
declare -r USER=astraea
declare -r BUILD=${BUILD:-false}
declare -r RUN=${RUN:-true}
declare -r ADDRESS=$([[ "$(which ipconfig)" != "" ]] && ipconfig getifaddr en0 || hostname -i)
declare -r ADDRESS=$([[ "$(which ipconfig)" != "" ]] && ipconfig getifaddr en0 || hostname -i | awk '{print $1}')

# ===================================[functions]===================================

Expand Down

0 comments on commit 3a217db

Please sign in to comment.