-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from finsberg/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
- Loading branch information
Showing
2 changed files
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
# We choose ubuntu 22.04 as our base docker image | ||
FROM ghcr.io/fenics/dolfinx/dolfinx:v0.8.0 | ||
|
||
ENV PYVISTA_JUPYTER_BACKEND="html" | ||
|
||
# Requirements for pyvista | ||
RUN apt-get update && apt-get install -y libgl1-mesa-glx libxrender1 xvfb nodejs | ||
FROM ghcr.io/fenics/dolfinx/lab:stable | ||
|
||
COPY . /repo | ||
WORKDIR /repo | ||
|
||
ARG TARGETPLATFORM | ||
RUN echo "Building for $TARGETPLATFORM" | ||
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then python3 -m pip install "https://github.com/finsberg/vtk-aarch64/releases/download/vtk-9.2.6-cp310/vtk-9.2.6.dev0-cp310-cp310-linux_aarch64.whl"; fi | ||
|
||
RUN python3 -m pip install scifem --no-build-isolation | ||
RUN python3 -m pip install ".[docs]" |