Compare commits

..

No commits in common. "58fb3ed172c3c967f463820691ea9af1fd9eea8f" and "e1b5b55b6997115761af23ecd4cf3a4a7d492dbe" have entirely different histories.

3 changed files with 6 additions and 48 deletions

View File

@ -9,11 +9,13 @@ 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: # Local testing of packages piston_fs_repo: #Temporary solution until CI works
build: repo build: repo
command: ['dart-2.12.1'] # Only build dart command: ['typescript-4.2.3'] # Only build typescript
volumes: volumes:
- .:/piston - ./repo:/piston/repo
- ./packages:/piston/packages

View File

@ -253,49 +253,6 @@ 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,8 +2,7 @@ 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 /