Skip to content

Commit 97f144a

Browse files
johanbrandhorstgopherbot
authored andcommitted
env: add runtime library to wasmedge runner
The runtime libraries were missed when the image was originally created, resulting in a binary that failed at runtime due to a missing library. For golang/go#60097 Change-Id: I6ae15af905e0dc673bbc300b95662ccd3b65034e Reviewed-on: https://go-review.googlesource.com/c/build/+/496076 Reviewed-by: Heschi Kreinick <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Johan Brandhorst-Satzkorn <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Johan Brandhorst-Satzkorn <[email protected]>
1 parent b452e8e commit 97f144a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

env/wasip1-wasm-wasmedge/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ RUN python3 install.py --version 0.12.0
1717
FROM ${REPO}/linux-x86-sid:20221109
1818

1919
COPY --from=builder /root/.wasmedge/bin/wasmedge /usr/local/bin/wasmedge
20+
COPY --from=builder /root/.wasmedge/lib/* /usr/local/lib
21+
22+
ENV LD_LIBRARY_PATH=/usr/local/lib
2023

2124
CMD ["/usr/local/bin/stage0"]

0 commit comments

Comments
 (0)