Skip to content

Commit

Permalink
refactor: skip python on stock
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 23, 2024
1 parent 2212594 commit f24b783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ ARG VTK

# Build dependencies

RUN dnf install -y gcc gcc-c++ kernel-devel cmake ninja-build python python-devel
RUN dnf install -y gcc gcc-c++ kernel-devel cmake ninja-build
RUN dnf install -y git docker sed clang-tools-extra

# Conditionally pre-install VTK

RUN if [ "$VTK" = "True" ]; then \
dnf install -y vtk vtk-devel && pip install -U cmakelang pyyaml; \
dnf install -y vtk vtk-devel python3 python3-devel && pip install -U cmakelang pyyaml; \
fi

0 comments on commit f24b783

Please sign in to comment.