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

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

set -e

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