File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ RUN apt-get update \
23
23
wget gnupg curl \
24
24
build-essential \
25
25
libz-dev \
26
- gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
26
+ gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
27
+ python3-venv
27
28
28
29
# dpkg --add-architecture arm64 \
29
30
@@ -40,13 +41,12 @@ RUN apt-get install -y zip clang lldb lld clangd \
40
41
llvm-$LLVM_VER-dev libpolly-$LLVM_VER-dev
41
42
42
43
# Install llvm-lit, which we use for correctness tests
43
- RUN apt-get install -y python3-venv
44
- RUN python3 -m venv /opt/venv
45
- RUN /opt/venv/bin/python -m pip install --upgrade pip
46
- RUN /opt/venv/bin/python -m pip install pipx
47
- RUN /opt/venv/bin/pipx install lit
48
- RUN /opt/venv/bin/pipx ensurepath
49
- RUN /opt/venv/bin/pipx ensurepath --global
44
+ RUN python3 -m venv /opt/venv \
45
+ && /opt/venv/bin/python -m pip install --upgrade pip \
46
+ && /opt/venv/bin/python -m pip install pipx \
47
+ && /opt/venv/bin/pipx install lit \
48
+ && /opt/venv/bin/pipx ensurepath \
49
+ && /opt/venv/bin/pipx ensurepath --global
50
50
51
51
ENV CARGO_HOME=/usr/local/cargo
52
52
ENV RUSTUP_HOME=/usr/local/rustup
You can’t perform that action at this time.
0 commit comments