Skip to content

Commit 1e511d4

Browse files
authored
Added a GitHub Codespaces configuration. (#3966)
1 parent d79667e commit 1e511d4

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM mcr.microsoft.com/devcontainers/base:debian
2+
3+
RUN apt-get update && apt-get -y install --no-install-recommends \
4+
build-essential cmake cmake-curses-gui doxygen git graphviz \
5+
less libtool-bin libyajl-dev mpi-default-dev valgrind wget

.devcontainer/devcontainer.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "HDF5 Developer",
3+
"build": {
4+
"context": "..",
5+
"dockerfile": "Dockerfile"
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [
10+
"ms-python.python",
11+
"ms-toolsai.jupyter",
12+
"ms-vscode.cpptools",
13+
"ms-vscode.live-server",
14+
"ms-vscode-remote.remote-containers",
15+
"ms-azuretools.vscode-docker",
16+
"h5web.vscode-h5web",
17+
"davidanson.vscode-markdownlint"
18+
],
19+
"settings": {
20+
"C_Cpp.default.cppStandard": "c++17",
21+
"C_Cpp.default.cStandard": "c99",
22+
"terminal.integrated.shell.linux": "/bin/bash"
23+
}
24+
}
25+
}
26+
}

.devcontainer/noop.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This file is copied into the container along with environment.yml* from the
2+
parent folder. This file prevents the Dockerfile COPY instruction from failing
3+
if no environment.yml is found.

0 commit comments

Comments
 (0)