Spaces:
Sleeping
Sleeping
Commit
·
8adecc2
1
Parent(s):
ac4c60c
3.11
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -7,16 +7,16 @@ ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
|
7 |
# Install dependencies
|
8 |
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
9 |
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
|
|
10 |
apt-get update && apt-get install -y \
|
11 |
git \
|
12 |
build-essential \
|
13 |
cmake \
|
14 |
-
|
15 |
-
python3-pip \
|
16 |
-
python3-pybind11 \
|
17 |
-
python3-dev \
|
18 |
wget
|
19 |
|
|
|
|
|
20 |
# Install llvm
|
21 |
RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
|
22 |
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|
|
7 |
# Install dependencies
|
8 |
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
9 |
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
10 |
+
apt-add-repository ppa:deadsnakes/ppa && \
|
11 |
apt-get update && apt-get install -y \
|
12 |
git \
|
13 |
build-essential \
|
14 |
cmake \
|
15 |
+
python3.11-dev python3.11-pip python3.11-distutils \
|
|
|
|
|
|
|
16 |
wget
|
17 |
|
18 |
+
RUN sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
19 |
+
|
20 |
# Install llvm
|
21 |
RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
|
22 |
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|