Skip to content

Commit

Permalink
Tools for local network stability testing
Browse files Browse the repository at this point in the history
  • Loading branch information
nbogojevic committed Jan 24, 2022
1 parent 2de7ebe commit cf16848
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"appPort": [
"9123:8123"
],
"runArgs": [
"--cap-add=NET_ADMIN"
],
"postCreateCommand": [
"./.devcontainer/postCreateCommand.sh"
],
Expand Down
4 changes: 4 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#! /bin/bash

# Add network testing tools
apt update
apt install -y iptools iproute2

# Fix discontinuing of git support by GitHub
sed 's/git:/https:/' -i /usr/share/container/upgrade

Expand Down

0 comments on commit cf16848

Please sign in to comment.