use latest version of python in executor
This commit is contained in:
parent
d7b82b5218
commit
9e7e53d45d
|
@ -1,2 +1,2 @@
|
||||||
cd /tmp/$2
|
cd /tmp/$2
|
||||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3.6 code.code"
|
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3.8 code.code"
|
||||||
|
|
|
@ -67,6 +67,7 @@ tar -xf Python-3.8.2.tar
|
||||||
cd Python-3.8.2
|
cd Python-3.8.2
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
|
ln -s python python3.8
|
||||||
echo 'export PATH=$PATH:/opt/python3/Python-3.8.2' >> /opt/.profile
|
echo 'export PATH=$PATH:/opt/python3/Python-3.8.2' >> /opt/.profile
|
||||||
source /opt/.profile
|
source /opt/.profile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue