Skip to content

Commit bd63b39

Browse files
committed
Simplify dockerfile as vtk is now on pypi on linux arch
1 parent 5b37d67 commit bd63b39

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

docker/Dockerfile

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,10 @@ RUN curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh && \
1717
apt -y install nodejs
1818

1919
# Upgrade setuptools and pip
20-
RUN python3 -m pip install -U setuptools pip pkgconfig
21-
22-
# BUILD VTK
23-
# ENV VTK_VERSION="v9.2.6"
24-
# RUN git clone --recursive --branch ${VTK_VERSION} --single-branch https://gitlab.kitware.com/vtk/vtk.git vtk && \
25-
# cmake -G Ninja -DVTK_WHEEL_BUILD=ON -DVTK_WRAP_PYTHON=ON vtk/ && \
26-
# ninja && \
27-
# python3 setup.py bdist_wheela
28-
29-
RUN echo ${TARGETPLATFORM}
30-
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then python3 -m pip install "https://github.com/finsberg/vtk-aarch64/releases/download/vtk-9.3.0-cp312/vtk-9.3.0.dev0-cp312-cp312-linux_aarch64.whl"; fi
31-
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then python3 -m pip install vtk; fi
20+
RUN python3 -m pip install -U setuptools pip pkgconfig poetry-core
21+
22+
23+
RUN python3 -m pip install vtk
3224

3325
ADD pyproject.toml /tmp/pyproject.toml
3426
RUN python3 -m pip install --no-cache-dir --no-binary=h5py -v .

0 commit comments

Comments
 (0)