Skip to content

Commit 523935d

Browse files
committed
cypthon pybind11
1 parent 988691f commit 523935d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

commons/Dockerfile.base.py38-cuda11.4

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,18 +249,19 @@ RUN curl -fL https://github.com/cdr/code-server/releases/download/v3.12.0/code-s
249249
mv /usr/local/lib/code-server-3.12.0-linux-amd64 /usr/local/lib/code-server-3.12.0 && \
250250
ln -s /usr/local/lib/code-server-3.12.0/bin/code-server /usr/local/bin/code-server
251251

252-
RUN rm /usr/bin/python /usr/bin/python3 && \
252+
RUN rm /usr/bin/python3 && \
253253
ln -s /usr/bin/python3.8 /usr/bin/python3 && \
254+
ln -s /usr/bin/python3.8 /usr/bin/python && \
254255
update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \
255256
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
256257

257258
WORKDIR /tmp
258259
RUN curl https://bootstrap.pypa.io/get-pip.py | python3 && \
259-
python3 -m pip install --no-cache-dir -U setuptools pip
260+
python3 -m pip install --no-cache-dir -U setuptools pip Cython pybind11
260261

261262
# OpenBlas
262263
WORKDIR /tmp
263-
RUN git clone -q --branch=master git://github.com/xianyi/OpenBLAS.git && \
264+
RUN git clone -q --branch=v0.3.18 git://github.com/xianyi/OpenBLAS.git && \
264265
cd OpenBLAS && \
265266
make DYNAMIC_ARCH=1 NO_AFFINITY=1 NUM_THREADS=48 FC=gfortran && \
266267
make install

0 commit comments

Comments
 (0)