Skip to content

Instantly share code, notes, and snippets.

@mberz
Last active November 11, 2025 13:30
Show Gist options
  • Select an option

  • Save mberz/73da249886c34160d18551c1f0a36d79 to your computer and use it in GitHub Desktop.

Select an option

Save mberz/73da249886c34160d18551c1f0a36d79 to your computer and use it in GitHub Desktop.
VSCode Devcontainer for fenics/dolfinx docker containers with complex number support and some pre-defined plug-ins ((c) mberz CC-BY-4.0)
{
"name": "fenicsx",
"image": "ghcr.io/fenics/dolfinx/lab:v0.10.0",
"containerEnv": {
"PKG_CONFIG_PATH": "/usr/local/dolfinx-complex/lib/pkgconfig",
"PETSC_DIR": "/usr/local/petsc/",
"PETSC_ARCH": "linux-gnu-complex128-32",
"PYTHONPATH": "/usr/local/dolfinx-complex/lib/python3.12/dist-packages:/usr/local/lib:",
"LD_LIBRARY_PATH": "/usr/local/dolfinx-complex/lib:"
},
"customizations": {
"vscode": {
"extensions": [
"ms-toolsai.jupyter",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter-renderers",
"tecosaur.latex-utilities",
"quarto.quarto",
"charliermarsh.ruff",
"mechatroner.rainbow-csv",
"VisualStudioExptTeam.vscodeintellicode",
"lextudio.restructuredtext"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment