From d36f9bb617d312a54500a75873e5280537cfea05 Mon Sep 17 00:00:00 2001 From: Damien A Date: Sun, 28 Jul 2024 15:41:16 +0200 Subject: [PATCH] add Edgeshark to devcontainer --- .devcontainer/devcontainer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8218170..726ddd6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,8 @@ { "image": "ghcr.io/srl-labs/containerlab/clab-devcontainer:0.55.0", "forwardPorts": [ - 50080 + 50080, + 5001 ], "customizations": { "vscode": { @@ -10,5 +11,6 @@ "redhat.vscode-yaml" ] } - } + }, + "postCreateCommand": "sudo mkdir -p /opt/edgeshark && sudo curl -sL https://github.com/siemens/edgeshark/raw/main/deployments/wget/docker-compose.yaml -o /opt/edgeshark/docker-compose.yaml" } \ No newline at end of file