Skip to content

Commit 8609048

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

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.devcontainer/linux/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2828
clang-format \
2929
clang-tools \
3030
libclang-rt-dev \
31-
libclang-rt-dev-wasm32 \
32-
lld \
3331
llvm \
3432
net-tools \
3533
sudo \
@@ -44,10 +42,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
4442
&& apt-get clean -y\
4543
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 50
4644

47-
# Install wasi-sysroot
48-
RUN mkdir /opt/wasi-sysroot && \
49-
curl -sSL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$WASI_SDK_VERSION/wasi-sysroot-$WASI_SDK_VERSION.0.tar.gz | \
50-
tar zxvf - --strip-components=1 -C /opt/wasi-sysroot
45+
# Install wasi-sdk
46+
RUN mkdir /opt/wasi-sdk && \
47+
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 | \
48+
tar zxvf - --strip-components=1 -C /opt/wasi-sdk
5149

5250
FROM ocre-ci AS ocre-dev
5351

0 commit comments

Comments
 (0)