Skip to content

Commit

Permalink
env: add runtime library to wasmedge runner
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
johanbrandhorst authored and gopherbot committed May 18, 2023
1 parent b452e8e commit 97f144a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions env/wasip1-wasm-wasmedge/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ RUN python3 install.py --version 0.12.0
FROM ${REPO}/linux-x86-sid:20221109

COPY --from=builder /root/.wasmedge/bin/wasmedge /usr/local/bin/wasmedge
COPY --from=builder /root/.wasmedge/lib/* /usr/local/lib

ENV LD_LIBRARY_PATH=/usr/local/lib

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

0 comments on commit 97f144a

Please sign in to comment.