diff options
author | Gerd Heber <gheber@hdfgroup.org> | 2024-01-30 17:04:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 17:04:27 (GMT) |
commit | 1e511d40924edad10d7cf43a128550f8dd461453 (patch) | |
tree | 45920fd07d9db36cb2aa7bab112cb450f091a000 /.devcontainer | |
parent | d79667eb0c57d729c1801ad58b2deb121aca0466 (diff) | |
download | hdf5-1e511d40924edad10d7cf43a128550f8dd461453.zip hdf5-1e511d40924edad10d7cf43a128550f8dd461453.tar.gz hdf5-1e511d40924edad10d7cf43a128550f8dd461453.tar.bz2 |
Added a GitHub Codespaces configuration. (#3966)
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/Dockerfile | 5 | ||||
-rw-r--r-- | .devcontainer/devcontainer.json | 26 | ||||
-rw-r--r-- | .devcontainer/noop.txt | 3 |
3 files changed, 34 insertions, 0 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..8b942f5 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/devcontainers/base:debian + +RUN apt-get update && apt-get -y install --no-install-recommends \ + build-essential cmake cmake-curses-gui doxygen git graphviz \ + less libtool-bin libyajl-dev mpi-default-dev valgrind wget
\ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5e78e03 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,26 @@ +{ + "name": "HDF5 Developer", + "build": { + "context": "..", + "dockerfile": "Dockerfile" + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-toolsai.jupyter", + "ms-vscode.cpptools", + "ms-vscode.live-server", + "ms-vscode-remote.remote-containers", + "ms-azuretools.vscode-docker", + "h5web.vscode-h5web", + "davidanson.vscode-markdownlint" + ], + "settings": { + "C_Cpp.default.cppStandard": "c++17", + "C_Cpp.default.cStandard": "c99", + "terminal.integrated.shell.linux": "/bin/bash" + } + } + } +} diff --git a/.devcontainer/noop.txt b/.devcontainer/noop.txt new file mode 100644 index 0000000..4682d3a --- /dev/null +++ b/.devcontainer/noop.txt @@ -0,0 +1,3 @@ +This file is copied into the container along with environment.yml* from the +parent folder. This file prevents the Dockerfile COPY instruction from failing +if no environment.yml is found.
\ No newline at end of file |