Skip to content

Commit

Permalink
Merge pull request #1357 from NickeZ/nickez/simulator-expose-port
Browse files Browse the repository at this point in the history
DX: Publish the simulators port
  • Loading branch information
NickeZ authored Jan 9, 2025
2 parents 84301a8 + 9fc27de commit cd498ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/dockerenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,15 @@ dockerdev () {
$RUNTIME rm "$CONTAINER_NAME"
fi

# SYS_PTRACE is needed to run address sanitizer
# * `SYS_PTRACE` is needed to run address sanitizer
# * `-p 15423` publishes the default port the simulator listens on
$RUNTIME run \
--detach \
--interactive --tty \
--name="$CONTAINER_NAME" \
-v "$repo_path":"$MOUNT_DIR" \
--cap-add SYS_PTRACE \
-p 15423:15423 \
${CONTAINER_IMAGE}:${CONTAINER_VERSION} bash

if [ "$RUNTIME" = "docker" ] ; then
Expand Down

0 comments on commit cd498ae

Please sign in to comment.