Skip to content

Kochise/docker-camisole

Repository files navigation

docker-camisole

Docker for camisole

camisole is a compiler isolation framework that allows sandboxed compilation of various programming languages.

Source : https://github.com/Kochise/docker-camisole

docker-camisole

installation

Install docker :

apt-get install -y docker

Compile the image :

docker pull library/debian:buster-slim
docker build . --network host -t camisole

Typical download/image size is 3.7 GB.

usage

Run the container :

docker run --network host -it --rm --privileged --detach camisole

Test camisole :

curl http://localhost:42920/run -d '{"lang": "python", "source": "print(42)"}'

curl http://localhost:42920/run -d '{"lang": "C", "source": "#include <stdio.h>\n int main() { printf(\"Hello World\"); return 0; }"}'

curl http://localhost:42920/run -d '{"lang": "lua", "source": "print(\"Hello World\")"}'

greetings

Based on https://github.com/prologin/camisole

About

Docker for camisole

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published