Skip to content

Commit 3d1e500

Browse files
authored
Update for release (#216)
1 parent 7d80e7d commit 3d1e500

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.github/workflows/publish_docker.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ jobs:
5454
platforms: linux/amd64
5555
tags: ${{ steps.meta.outputs.tags }}
5656
labels: ${{ steps.meta.outputs.labels }}
57-
58-
5957

6058
- name: Build (arm) and push (amd/arm) Docker image
6159
uses: docker/build-push-action@v5
62-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
60+
if: github.event_name == 'push'
6361
with:
6462
context: .
6563
push: true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/jorgensd/dolfinx-tutorial:v0.7.2
1+
FROM ghcr.io/jorgensd/dolfinx-tutorial:release
22

33
# create user with a home directory
44
ARG NB_USER=jovyan

docker/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Execute from root of repo as: docker buildx build --platform=linux/arm64,linux/amd64 -f docker/Dockerfile ./docker/ --progress=plain
22

3-
FROM ghcr.io/fenics/dolfinx/lab:v0.8.0
3+
FROM ghcr.io/fenics/dolfinx/lab:v0.9.0
44
ARG TARGETPLATFORM
55

66

@@ -11,7 +11,7 @@ ENV PYVISTA_JUPYTER_BACKEND="static"
1111

1212
WORKDIR /tmp/
1313
# Requirements for pyvista (gl1 and render1) and jupyterlab (nodejs and curl)
14-
RUN apt-get update && apt-get install -y libgl1-mesa-glx libxrender1 xvfb curl
14+
RUN apt-get update && apt-get install -y libgl1-mesa-dev libxrender1 xvfb curl
1515
RUN curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh && \
1616
bash nodesource_setup.sh && \
1717
apt install nodejs
@@ -27,11 +27,11 @@ RUN python3 -m pip install -U setuptools pip pkgconfig
2727
# python3 setup.py bdist_wheela
2828

2929
RUN echo ${TARGETPLATFORM}
30-
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
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
3131
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then python3 -m pip install vtk; fi
3232

3333
ADD pyproject.toml /tmp/pyproject.toml
3434
RUN python3 -m pip install --no-cache-dir --no-binary=h5py -v .
3535
RUN python3 -m pip cache purge
36-
RUN jupyter lab build
36+
3737
ENTRYPOINT ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser", "--allow-root"]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "DOLFINx_Tutorial"
7-
version = "0.8.0"
7+
version = "0.9.0"
88
dependencies = [
99
"jupyter-book",
1010
"meshio",
@@ -13,7 +13,7 @@ dependencies = [
1313
"pandas",
1414
"tqdm",
1515
"pyvista[all]>=0.43.0",
16-
"fenics-dolfinx>=0.8.0",
16+
"fenics-dolfinx>=0.9.0",
1717
]
1818

1919
[project.optional-dependencies]

0 commit comments

Comments
 (0)