summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/wamr-ide/VSCode-Extension/resource/scripts/run.sh
blob: 670e57c1e789f6fde029d53c992c33463678aa57 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Copyright (C) 2019 Intel Corporation.  All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

set -e

docker run --rm -it --name=wasm-debug-server-ctr \
           -v "$(pwd)":/mnt \
           wasm-debug-server:$2 \
           /bin/bash -c "./run.sh $1"