Skip to content

Commit

Permalink
build: bump wasmvm 0.14.0-0.8.0 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yongwoo Lee authored Oct 5, 2021
1 parent 4bc0bd6 commit ba66802
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 26 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ RUN chmod +x rustup-init
RUN ./rustup-init -y --no-modify-path --default-toolchain 1.53.0; rm rustup-init
RUN chmod -R a+w $RUSTUP_HOME $CARGO_HOME
RUN cd $(go list -f "{{ .Dir }}" -m github.com/line/wasmvm) && \
RUSTFLAGS='-C target-feature=-crt-static' cargo build --release --example muslc && \
mv target/release/examples/libmuslc.a /usr/lib/libwasmvm_muslc.a && \
RUSTFLAGS='-C target-feature=-crt-static' cargo build --release --example staticlib && \
mv -f target/release/examples/libstaticlib.a /usr/lib/libwasmvm_static.a && \
rm -rf target

# Add source files
COPY . .

# Make install
RUN BUILD_TAGS=muslc make install CGO_ENABLED=1 LBM_BUILD_OPTIONS="$LBM_BUILD_OPTIONS"
RUN BUILD_TAGS=static make install CGO_ENABLED=1 LBM_BUILD_OPTIONS="$LBM_BUILD_OPTIONS"

# Final image
FROM alpine:edge
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ go 1.15

require (
github.com/gorilla/mux v1.8.0
github.com/line/lbm-sdk v1.0.0-init.1.0.20210927003344-bf81f8af0237
github.com/line/ostracon v0.34.9-0.20210927015159-624b74cbc8a0
github.com/line/lbm-sdk v1.0.0-init.1.0.20211001075505-54adf5d39e88
github.com/line/ostracon v0.34.9-0.20210930060702-30b70e254d83
github.com/line/tm-db/v2 v2.0.0-init.1.0.20210824011847-fcfa67dd3c70
github.com/prometheus/client_golang v1.11.0
github.com/rakyll/statik v0.1.7
github.com/spf13/cast v1.4.1
github.com/spf13/cobra v1.1.3
github.com/spf13/viper v1.7.1
github.com/spf13/viper v1.9.0
github.com/stretchr/testify v1.7.0
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
)
Expand Down
Loading

0 comments on commit ba66802

Please sign in to comment.