1.7 KiB
1.7 KiB
Notes
- Container will configure vscode's settings to recognize .pl files as Prolog rather than the default Perl.
- Will install extensions for lisp, prolog, and ASP
- Will configure SBCL to use
rlwrapso that you have history when using a lisp REPL- (Currently using the slightly worse rlfe instead of rlwrap due to rlwrap breaking all the time)
How to use
-
You will need to have vscode and Docker installed.
- You must be able to run docker without
sudo
. To test this try runningdocker version
and see if you get a permission error. If you get an error, see this document for instructions on how to run docker without root privileges. For Ubuntu, docker is installed withsudo apt install docker.io
- You must be able to run docker without
-
Install the vscode extension for docker dev containers as shown in the image below
-
Clone this repository (or just download it) and open the folder that contains the .devcontainer folder
- Your folder structure should look like the following
- Open the commands palette (CTRL + SHIFT + P) or (CTRL + P + >) and type "open in container" and select "Dev Containers: Reopen in Container"
-
It may take a bit to download the docker container, go grab a coffee
-
Confirm that you're running in the container and have the extensions shown in the following image installed
- Only the folders
.devcontainer
,.vscode
and the fileDockerfile
are needed for the container to function correctly. Delete everything else including.git