Skip to content

Instantly share code, notes, and snippets.

@royratcliffe
Last active May 17, 2025 15:21
Show Gist options
  • Save royratcliffe/28870f67bf64cf9003336b3e853e30d4 to your computer and use it in GitHub Desktop.
Save royratcliffe/28870f67bf64cf9003336b3e853e30d4 to your computer and use it in GitHub Desktop.
Ciao
{
"name": "Ciao Prolog dev container",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"ciao-lang.ciao-prolog-vsc"
]
}
}
}
FROM mcr.microsoft.com/devcontainers/base:noble
# The Microsoft dev container automatically makes the user `vscode`.
#
# ``` bash
# vscode ➜ ~ $ id
# uid=1000(vscode) gid=1000(vscode) groups=1000(vscode)
# ```
#
USER vscode
WORKDIR /home/vscode
# The command `sh -s --` runs a shell script passed via standard input. The
# double dash marks the end of command options, preventing any subsequent
# arguments from being misinterpreted as options.
RUN curl https://ciao-lang.org/boot -sSfL | sh -s -- --prebuilt-bin local-install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment