Compare commits

...

28 Commits

Author SHA1 Message Date
Thomas Hobson 58fb3ed172
repo: python version is 3.7 2021-03-20 22:08:00 +13:00
Thomas Hobson 5fb49b05d5
repo: force python 3.5 2021-03-20 22:05:36 +13:00
Thomas Hobson f24b3496d7
repo: python is python3 2021-03-20 21:58:07 +13:00
Thomas Hobson 29953047dd
Merge branch 'master' into v3 2021-03-20 21:47:54 +13:00
Thomas Hobson 2ccae29493
deploy: simplify 2021-03-20 21:28:13 +13:00
Brian Seymour 16c585d41d dont trim output 2021-03-14 22:08:56 -05:00
Brian Seymour ac44a5c373 new clojure install 2021-03-12 14:41:43 -06:00
Brian Seymour 6ff766d90b fix deno, fix clojure version, lolcode dynamic version 2021-03-12 14:12:25 -06:00
Brian Seymour 66a602038b specify m2 directory explicitly 2021-03-12 13:58:16 -06:00
Brian Seymour a2afccad26 add missing tests, give clojure more time 2021-03-12 13:33:17 -06:00
Brian Seymour 9f7d01bb18 add missing cd 2021-03-12 13:28:39 -06:00
Brian Seymour ed0a5c4f78 merge and add clojure 2021-03-12 13:27:06 -06:00
Brian Seymour fca3488743
Merge pull request #139 from Vrganj/add-lolcode
Add lolcode
2021-03-12 13:24:57 -06:00
Vrganj 14d1090daa Add lolcode 2021-03-12 20:18:43 +01:00
Brian Seymour f12cee3a96
Merge pull request #126 from Sirius902/master
Fix scala version
2021-02-26 01:48:07 -06:00
Sirius902 2444092236 Update install comment in install_script 2021-02-25 18:43:34 -08:00
Sirius902 84fb5e0b9c Fix scala version 2021-02-25 18:32:13 -08:00
Brian Seymour 0d3517fe56 link math 2021-02-25 18:28:35 -06:00
Brian Seymour 46edb3b478
Merge pull request #79 from HexF/patch-1
Disable color output for deno
2021-02-23 22:24:14 -06:00
Brian Seymour e7d2cd5f0e
Merge pull request #124 from TitouanT/prolog_main
call main\1 predicate with arguments list if any
2021-02-23 22:23:59 -06:00
Brian Seymour f5a9cacceb
Merge pull request #125 from Sirius902/master
Disable color output for scala
2021-02-23 22:23:31 -06:00
Sirius902 2ad9829fc6 Disable color output for scala 2021-02-23 19:43:26 -08:00
TitouanT 1305dc9e3f call main\1 predicate with arguments list if any 2021-02-23 10:43:44 +01:00
Brian Seymour 87b124c737 fix prolog executor and instructions 2021-02-19 00:33:39 -06:00
Brian Seymour 2ca831f822 use login shell again since rust breaks without it 2021-02-18 16:29:04 -06:00
Brian Seymour f358b58cb6 Merge branch 'master' of ssh://github.com/engineer-man/piston 2021-02-18 16:26:16 -06:00
Brian Seymour 4af1aa670b replace pkill loop with pgrep while loop 2021-02-18 16:26:11 -06:00
Thomas 295e73d4d9
Disable color output for deno
By default Deno has color output, we don't need this - and it also makes challenges on emkc.org not give the correct results.
2021-02-08 20:05:14 +13:00
3 changed files with 48 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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 /