Skip to content

Commit 1539db9

Browse files
committed
Revert "feat(container/zephyr): install wasi-sysroot"
This reverts commit 70b9ff6. Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
1 parent f93828d commit 1539db9

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.devcontainer/zephyr/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3232
gperf \
3333
gpg \
3434
jq \
35-
libclang-rt-dev-wasm32 \
3635
libmagic1 \
3736
libsdl2-dev \
38-
lld \
3937
llvm \
4038
make \
4139
net-tools \
@@ -53,10 +51,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5351
&& apt-get clean -y\
5452
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 50
5553

56-
# Install wasi-sysroot
57-
RUN mkdir /opt/wasi-sysroot && \
58-
curl -sSL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$WASI_SDK_VERSION/wasi-sysroot-$WASI_SDK_VERSION.0.tar.gz | \
59-
tar zxvf - --strip-components=1 -C /opt/wasi-sysroot
54+
# Install wasi-sdk
55+
RUN mkdir /opt/wasi-sdk && \
56+
curl -sSL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$WASI_SDK_VERSION/wasi-sdk-$WASI_SDK_VERSION.0-$(uname -m | sed s/aarch64/arm64/)-linux.tar.gz | \
57+
tar zxvf - --strip-components=1 -C /opt/wasi-sdk
6058

6159
RUN python -m venv /opt/zephyr-venv && \
6260
. /opt/zephyr-venv/bin/activate && \

0 commit comments

Comments
 (0)