mirror of
https://github.com/engineer-man/piston.git
synced 2025-08-06 04:48:46 +02:00
Compare commits
28 commits
e1b5b55b69
...
58fb3ed172
Author | SHA1 | Date | |
---|---|---|---|
|
58fb3ed172 | ||
|
5fb49b05d5 | ||
|
f24b3496d7 | ||
|
29953047dd | ||
|
2ccae29493 | ||
|
16c585d41d | ||
|
ac44a5c373 | ||
|
6ff766d90b | ||
|
66a602038b | ||
|
a2afccad26 | ||
|
9f7d01bb18 | ||
|
ed0a5c4f78 | ||
|
fca3488743 | ||
|
14d1090daa | ||
|
f12cee3a96 | ||
|
2444092236 | ||
|
84fb5e0b9c | ||
|
0d3517fe56 | ||
|
46edb3b478 | ||
|
e7d2cd5f0e | ||
|
f5a9cacceb | ||
|
2ad9829fc6 | ||
|
1305dc9e3f | ||
|
87b124c737 | ||
|
2ca831f822 | ||
|
f358b58cb6 | ||
|
4af1aa670b | ||
|
295e73d4d9 |
3 changed files with 48 additions and 6 deletions
|
@ -9,13 +9,11 @@ services:
|
||||||
- 6969:6969
|
- 6969:6969
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/piston:/piston
|
- ./data/piston:/piston
|
||||||
- ./repo:/repo
|
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /piston/jobs:exec
|
- /piston/jobs:exec
|
||||||
|
|
||||||
piston_fs_repo: #Temporary solution until CI works
|
piston_fs_repo: # Local testing of packages
|
||||||
build: repo
|
build: repo
|
||||||
command: ['typescript-4.2.3'] # Only build typescript
|
command: ['dart-2.12.1'] # Only build dart
|
||||||
volumes:
|
volumes:
|
||||||
- ./repo:/piston/repo
|
- .:/piston
|
||||||
- ./packages:/piston/packages
|
|
43
readme.md
43
readme.md
|
@ -253,6 +253,49 @@ Content-Type: application/json
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
# Supported Languages
|
||||||
|
`awk`,
|
||||||
|
`bash`,
|
||||||
|
`brainfuck`,
|
||||||
|
`c`,
|
||||||
|
`cpp`,
|
||||||
|
`clojure`,
|
||||||
|
`crystal`,
|
||||||
|
`csharp`,
|
||||||
|
`d`,
|
||||||
|
`dash`,
|
||||||
|
`deno`,
|
||||||
|
`elixir`,
|
||||||
|
`emacs`,
|
||||||
|
`elisp`,
|
||||||
|
`go`,
|
||||||
|
`haskell`,
|
||||||
|
`java`,
|
||||||
|
`jelly`,
|
||||||
|
`julia`,
|
||||||
|
`kotlin`,
|
||||||
|
`lisp`,
|
||||||
|
`lolcode`,
|
||||||
|
`lua`,
|
||||||
|
`nasm`,
|
||||||
|
`nasm64`,
|
||||||
|
`nim`,
|
||||||
|
`node`,
|
||||||
|
`osabie`,
|
||||||
|
`paradoc`,
|
||||||
|
`perl`,
|
||||||
|
`php`,
|
||||||
|
`python2`,
|
||||||
|
`python3`,
|
||||||
|
`ruby`,
|
||||||
|
`rust`,
|
||||||
|
`scala`,
|
||||||
|
`swift`,
|
||||||
|
`typescript`,
|
||||||
|
`zig`,
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
# Principle of Operation
|
# Principle of Operation
|
||||||
|
|
||||||
Piston uses Docker as the primary mechanism for sandboxing. There is an API within the container written in Node
|
Piston uses Docker as the primary mechanism for sandboxing. There is an API within the container written in Node
|
||||||
|
|
|
@ -2,7 +2,8 @@ FROM debian:buster-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils util-linux pciutils usbutils coreutils binutils findutils grep libncurses5-dev libncursesw5-dev python3-pip libgmp-dev libmpfr-dev python2 && \
|
RUN apt-get update && apt-get install -y unzip autoconf build-essential libssl-dev pkg-config zlib1g-dev libargon2-dev libsodium-dev libcurl4-openssl-dev sqlite3 libsqlite3-dev libonig-dev libxml2 libxml2-dev bc curl git linux-headers-amd64 perl xz-utils python3 python3-pip gnupg jq zlib1g-dev cmake cmake-doc extra-cmake-modules build-essential gcc binutils bash coreutils util-linux pciutils usbutils coreutils binutils findutils grep libncurses5-dev libncursesw5-dev python3-pip libgmp-dev libmpfr-dev python2 && \
|
||||||
ln -sf /bin/bash /bin/sh && \
|
ln -sf /bin/bash /bin/sh && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
|
||||||
|
|
||||||
ADD entrypoint.sh mkindex.sh /
|
ADD entrypoint.sh mkindex.sh /
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue