Skip to content

Commit

Permalink
experimenting devcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b00 committed Jan 4, 2023
1 parent 0dfe2ba commit 08df23b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM brendanburns/wasm-dev-base:0.0.6

# Dotnet
RUN apt install lld-14 -y -qq
RUN curl https://packages.microsoft.com/config/ubuntu/22.10/packages-microsoft-prod.deb -L --output packages-microsoft-prod.deb && \
dpkg -i packages-microsoft-prod.deb && \
rm packages-microsoft-prod.deb && \
apt-get update && apt-get install -y dotnet-sdk-7.0

7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "CSLY",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
}
}
1 change: 1 addition & 0 deletions samples/ParserExample/ParserExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Wasi.Sdk" Version="0.1.2-preview.10061" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 08df23b

Please sign in to comment.