From f622e84607a8ecb4d8dd75d731063423ab38d189 Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Fri, 21 Feb 2020 16:10:37 -0800 Subject: CI: install Pipfile into system interpreter A virtual environment is redundant in the context of deployment. It just increases the size and build time of the image. * Replace venv with system interpreter * Mount Python binaries in /usr/local/bin in NsJail * Fix #61: Python symlink in venv not resolving * Re-lock Pipfile because it wasn't up to date according to pipenv install --deploy --- scripts/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/.profile b/scripts/.profile index 73fbb28..69ad959 100644 --- a/scripts/.profile +++ b/scripts/.profile @@ -17,5 +17,5 @@ nsjpy() { nsjail \ --config "${NSJAIL_CFG:-/snekbox/snekbox.cfg}" \ $nsj_args -- \ - /snekbox/.venv/bin/python3 -Iqu -c "$@" + /usr/local/bin/python -Iqu -c "$@" } -- cgit v1.2.3