aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-21 16:10:37 -0800
committerGravatar MarkKoz <[email protected]>2020-02-21 16:14:43 -0800
commitf622e84607a8ecb4d8dd75d731063423ab38d189 (patch)
treea0133bdfa0f771ef9418ecbee550a8ea12625aec /scripts
parentMerge pull request #55 from python-discord/proper-chroot (diff)
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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/.profile2
1 files changed, 1 insertions, 1 deletions
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 "$@"
}