summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Heber <gheber@hdfgroup.org>2024-01-30 17:04:27 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2024-02-14 21:32:07 (GMT)
commitea73728f68971516ac4396b9383f1eb47eb4bbc6 (patch)
tree98b0a897be1a8409efbea2cc5c5b5d4b5e3d2de7
parent30b0f89f869c947cce41dbdb983533400f607604 (diff)
downloadhdf5-ea73728f68971516ac4396b9383f1eb47eb4bbc6.zip
hdf5-ea73728f68971516ac4396b9383f1eb47eb4bbc6.tar.gz
hdf5-ea73728f68971516ac4396b9383f1eb47eb4bbc6.tar.bz2
Added a GitHub Codespaces configuration. (#3966)
-rw-r--r--.devcontainer/Dockerfile5
-rw-r--r--.devcontainer/devcontainer.json26
-rw-r--r--.devcontainer/noop.txt3
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