mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 11:16:27 +02:00
added deno
Fixes issue: https://github.com/engineer-man/piston/issues/18
This commit is contained in:
parent
3246ed6781
commit
084211cb46
7 changed files with 28 additions and 1 deletions
10
readme.md
10
readme.md
|
@ -54,7 +54,7 @@ apt-get update
|
|||
apt-get install -y \
|
||||
nano wget build-essential pkg-config libxml2-dev \
|
||||
libsqlite3-dev mono-complete curl cmake libpython2.7-dev \
|
||||
ruby libtinfo-dev
|
||||
ruby libtinfo-dev unzip
|
||||
|
||||
# install python2
|
||||
# final binary: /opt/python2/Python-2.7.17/python
|
||||
|
@ -223,6 +223,14 @@ source /opt/.profile
|
|||
# get version: /usr/bin/ghc --version
|
||||
apt install ghc
|
||||
|
||||
# install deno
|
||||
# final binary: /opt/.deno/bin/deno
|
||||
# get version: /opt/.deno/bin/deno --version
|
||||
curl -fsSL https://deno.land/x/install/install.sh | sh
|
||||
echo 'export DENO_INSTALL="/opt/.deno"'
|
||||
echo 'export PATH="$DENO_INSTALL/bin:$PATH"'
|
||||
source /opt/.profile
|
||||
|
||||
# create runnable users and apply limits
|
||||
for i in {1..150}; do
|
||||
useradd -M runner$i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue