Skip to content

Commit 48e83ac

Browse files
committed
Add codespace and docker support
Signed-off-by: Alireza Poodineh <[email protected]>
1 parent 4f78c7f commit 48e83ac

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "Dotnet Multi-SDK Dev Container",
3+
"build": {
4+
"dockerfile": "../Dockerfile"
5+
},
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"ms-dotnettools.csharp"
10+
]
11+
}
12+
}
13+
14+
}

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Use the official devcontainer .NET 8 image
2+
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:9.0
3+
4+
# Install additional apt packages
5+
RUN apt-get update && apt-get install -y \
6+
git \
7+
curl \
8+
clang \
9+
zlib1g-dev \
10+
&& apt-get clean && rm -rf /var/lib/apt/lists/*
11+
12+
# Setup Doxygen 1.12
13+
RUN mkdir /tmp/doxygen \
14+
&& cd /tmp/doxygen \
15+
&& wget -q https://www.doxygen.nl/files/doxygen-1.12.0.linux.bin.tar.gz \
16+
&& tar xf doxygen-1.12.0.linux.bin.tar.gz --strip-components=1 \
17+
&& make install
18+
19+
ENV PATH="/usr/share/dotnet:${PATH}"

0 commit comments

Comments
 (0)