Skip to content

Commit 66f8a5d

Browse files
Marco Ciccalejfmc
Marco Ciccale
authored andcommitted
(ci) added .devContainer for GitHub Codespaces
The Dockerfile and devcontainer.json specify a development container that setups Ciao and the VSCode extension necessary to use Ciao from Github Codespaces. Src-commit: b0bf04735f79c5b2d377835e3ce74a08be378a9a
1 parent 2e477d1 commit 66f8a5d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.devcontainer/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM mcr.microsoft.com/devcontainers/base:jammy
2+
3+
USER vscode
4+
WORKDIR /home/vscode
5+
6+
RUN curl https://ciao-lang.org/boot -sSfL | sh -s -- --prebuilt-bin local-install

.devcontainer/devcontainer.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "Ciao Prolog dev container",
3+
4+
"build": {
5+
"dockerfile": "Dockerfile"
6+
},
7+
8+
"customizations": {
9+
"vscode" : {
10+
"extensions" : [ "ciao-lang.ciao-prolog-vsc" ]
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)