Skip to content

Commit

Permalink
copy both libwasmvm.aarch64.so and libwasmvm.x86_64.so
Browse files Browse the repository at this point in the history
  • Loading branch information
phamminh0811 committed Jan 29, 2024
1 parent 103bbf1 commit 2954d48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ictest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ COPY . /code/
RUN LEDGER_ENABLED=false make build

RUN cp /go/pkg/mod/github.com/classic-terra/wasmvm@v*/internal/api/libwasmvm.aarch64.so /lib/libwasmvm.aarch64.so
RUN cp /go/pkg/mod/github.com/classic-terra/wasmvm@v*/internal/api/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so

FROM ubuntu:22.04

WORKDIR /root

COPY --from=go-builder /code/build/terrad /usr/local/bin/terrad
COPY --from=go-builder /lib/libwasmvm.aarch64.so /lib/libwasmvm.aarch64.so
COPY --from=go-builder /lib/libwasmvm.x86_64.so /lib/libwasmvm.x86_64.so

# rest server
EXPOSE 1317
Expand Down

0 comments on commit 2954d48

Please sign in to comment.