Compare commits
28 Commits
e1b5b55b69
...
58fb3ed172
Author | SHA1 | Date |
---|---|---|
Thomas Hobson | 58fb3ed172 | |
Thomas Hobson | 5fb49b05d5 | |
Thomas Hobson | f24b3496d7 | |
Thomas Hobson | 29953047dd | |
Thomas Hobson | 2ccae29493 | |
Brian Seymour | 16c585d41d | |
Brian Seymour | ac44a5c373 | |
Brian Seymour | 6ff766d90b | |
Brian Seymour | 66a602038b | |
Brian Seymour | a2afccad26 | |
Brian Seymour | 9f7d01bb18 | |
Brian Seymour | ed0a5c4f78 | |
Brian Seymour | fca3488743 | |
Vrganj | 14d1090daa | |
Brian Seymour | f12cee3a96 | |
Sirius902 | 2444092236 | |
Sirius902 | 84fb5e0b9c | |
Brian Seymour | 0d3517fe56 | |
Brian Seymour | 46edb3b478 | |
Brian Seymour | e7d2cd5f0e | |
Brian Seymour | f5a9cacceb | |
Sirius902 | 2ad9829fc6 | |
TitouanT | 1305dc9e3f | |
Brian Seymour | 87b124c737 | |
Brian Seymour | 2ca831f822 | |
Brian Seymour | f358b58cb6 | |
Brian Seymour | 4af1aa670b | |
Thomas | 295e73d4d9 |
|
@ -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…
Reference in New Issue