Skip to content

Commit

Permalink
wasmsdk image support bazel
Browse files Browse the repository at this point in the history
Signed-off-by: Lei Chu <[email protected]>
  • Loading branch information
clarechu committed Jul 23, 2021
1 parent fd0be84 commit 8a31f74
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile-sdk
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ COPY ./build_wasm.sh /
COPY *.cc *.h *.js *.proto Makefile* *.a /sdk/

RUN ./sdk_container.sh

ENV PATH="${PATH}:/usr/local/go/bin:/root/go/bin"
11 changes: 11 additions & 0 deletions sdk_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ export CC=gcc-7
export CXX=g++-7
export CPP=cpp-7

# goland

wget https://golang.org/dl/go1.16.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.6.linux-amd64.tar.gz
rm -rf go1.16.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin

# bazel
go get github.com/bazelbuild/bazelisk
ln -s /root/go/bin/bazelisk /root/go/bin/bazel

# get $HOME
cd

Expand Down

0 comments on commit 8a31f74

Please sign in to comment.