Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
yomaytk committed Mar 7, 2024
1 parent 9a04910 commit 85f8484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ git pull && ./emsdk install latest && ./emsdk activate latest && . ./emsdk_env.s
# takes long times to build wasi-sdk in arm64 because wasi-sdk doesn't release arm64 packages.
RUN \
if [ "$( uname -m )" = "x86_64" ]; then \
cd /root && echo -e "export WASI_VERSION=21\nexport WASI_VERSION_FULL=${WASI_VERSION}.0\nexport WASI_SDK_PATH=/root/wasi-sdk-${WASI_VERSION_FULL}" >> /root/.bash_profile && \
cd /root && export WASI_VERSION=21 && export WASI_VERSION_FULL=${WASI_VERSION}.0 && echo -e "export WASI_VERSION=21\nexport WASI_VERSION_FULL=${WASI_VERSION}.0\nexport WASI_SDK_PATH=/root/wasi-sdk-${WASI_VERSION_FULL}" >> /root/.bash_profile && \
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz && tar xvf wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz && rm wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz; \
elif [ "$( uname -m )" = "aarch64" ]; then \
cd /root && git clone --recursive https://github.com/WebAssembly/wasi-sdk.git; \
Expand Down

0 comments on commit 85f8484

Please sign in to comment.