Skip to content

Commit dabf290

Browse files
committed
install x86_32 llvm dependecies
1 parent 6a5379e commit dabf290

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,18 @@ RUN apt update \
169169

170170
RUN apt update && apt install -y lcov libzstd-dev llvm llvm-dev libclang-dev
171171

172+
RUN dpkg --add-architecture i386 \
173+
&& apt-get update \
174+
&& apt-get install -y g++-multilib libzstd-dev:i386 zlib1g-dev:i386
175+
172176
# set path
173177
ENV PATH="/home/vscode/.opam/default/bin:/opt/bazelisk:/usr/lib/llvm-${LLVM_VER}/bin:${PATH}"
174178

175179
ENV PYTHONPATH="/usr/lib/llvm-18/lib/python3.10/dist-packages/"
176180

177181
# clean
178182
RUN apt-get autoremove -y \
179-
&& apt-get clean -y \
180-
&& rm -rf /var/lib/apt/lists/* \
181-
&& rm -rf /tmp/*
183+
&& apt-get clean -y
182184

183185
# set workdir when container run
184186
WORKDIR /workspaces

.devcontainer/finalize.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ printf "Running 'postCreateCommand' Script ...\n"
1313
# RUSTUP_DIST_SERVER=https://fastly-static.rust-lang.org rustup component add rustfmt
1414

1515
printf "Installing Python Dependencies\n"
16-
pip install --break-system-packages --user --upgrade pip
17-
pip install --break-system-packages --user -r .devcontainer/requirements.txt
16+
pip install --user --upgrade pip
17+
pip install --user -r .devcontainer/requirements.txt
1818

1919
#printf "Installing NPM Dependencies\n"
2020

0 commit comments

Comments
 (0)