Skip to content

Commit

Permalink
latest docker build changes from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Aug 5, 2024
1 parent 4f9d98a commit 17fffa8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ RUN set -eux; \
if [ ! -z "${WASM_VERSION}" ]; then \
WASMVM_REPO=$(echo $WASM_VERSION | awk '{print $1}');\
WASMVM_VERS=$(echo $WASM_VERSION | awk '{print $2}');\
if [ $(echo $WASMVM_REPO | grep -c '/v2$') -gt 0 ]; then \
WASMVM_REPO=$(echo $WASMVM_REPO | sed 's/\/v2$//');\
fi; \
wget -O /lib/libwasmvm_muslc.a https://${WASMVM_REPO}/releases/download/${WASMVM_VERS}/libwasmvm_muslc.$(uname -m).a;\
# https://github.com/strangelove-ventures/heighliner/pull/263
wget -O /lib/libwasmvm.so https://${WASMVM_REPO}/releases/download/${WASMVM_VERS}/libwasmvm.$(uname -m).so;\
wget -O /lib/libwasmvm_muslc.$(uname -m).a https://${WASMVM_REPO}/releases/download/${WASMVM_VERS}/libwasmvm_muslc.$(uname -m).a;\
wget -O /lib/libwasmvm.$(uname -m).so https://${WASMVM_REPO}/releases/download/${WASMVM_VERS}/libwasmvm.$(uname -m).so;\
fi; \
go mod download;

Expand Down

0 comments on commit 17fffa8

Please sign in to comment.