diff --git a/CHANGELOG.md b/CHANGELOG.md index c9febe86..01bc78a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Improvements ### Bug Fixes +* (build) [\#47](https://github.com/line/lbm/pull/47) fix Docker build error ### Breaking Changes diff --git a/Dockerfile b/Dockerfile index 4c424047..8a2e7da3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ 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) && \ + cd ./libwasmvm && \ 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 diff --git a/go.mod b/go.mod index a14c4088..b0161c93 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( github.com/go-kit/kit v0.12.0 // indirect github.com/gorilla/mux v1.8.0 - github.com/line/lbm-sdk v0.45.0-rc0 + github.com/line/lbm-sdk v1.0.0-init.1.0.20220307093004-2ce2faa0be81 github.com/line/ostracon v1.0.3 github.com/line/tm-db/v2 v2.0.0-init.1.0.20220121012851-61d2bc1d9486 github.com/prometheus/client_golang v1.12.1 diff --git a/go.sum b/go.sum index eb442c51..1febc1b6 100644 --- a/go.sum +++ b/go.sum @@ -501,6 +501,8 @@ github.com/line/iavl/v2 v2.0.0-init.1.0.20220215225951-cb11c91d8857 h1:8kWqbLNeb github.com/line/iavl/v2 v2.0.0-init.1.0.20220215225951-cb11c91d8857/go.mod h1:uK2CYRdukSVRGhc5Q8zoDUnm/zAbfnZATbFXrfCrQKA= github.com/line/lbm-sdk v0.45.0-rc0 h1:teOanJ9ha6rv42BWzmUOkgJSFVZsINFnUpCFGKHeGnI= github.com/line/lbm-sdk v0.45.0-rc0/go.mod h1:xPvb5pYKhWoKbCKwXc59fPqjuMzJTu6JDk2IX8Y59Wc= +github.com/line/lbm-sdk v1.0.0-init.1.0.20220307093004-2ce2faa0be81 h1:XYk3gkDkA+KAIG6mQcPz9ebZQ0C+fYbRI4lWC9XQeHw= +github.com/line/lbm-sdk v1.0.0-init.1.0.20220307093004-2ce2faa0be81/go.mod h1:xPvb5pYKhWoKbCKwXc59fPqjuMzJTu6JDk2IX8Y59Wc= github.com/line/ostracon v0.34.9-0.20210429084710-ef4fe0a40c7d/go.mod h1:ttnbq+yQJMQ9a2MT5SEisOoa/+pOgh2KenTiK/rVdiw= github.com/line/ostracon v1.0.3 h1:9HJ27BZJUcGCJgKPtuqLPDoZ2Ytty2lT/fEWq2ckAFI= github.com/line/ostracon v1.0.3/go.mod h1:txHQ97UdyUMSfuNGZYpRfuxLPCvHA0h/Y+0kbc9s2H4=