aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2023-08-19 21:19:16 -0700
committerGravatar Mark <[email protected]>2023-08-19 21:19:16 -0700
commit0b0b0fd76f50e5d69e9acfc5473216456b4ef630 (patch)
treeefdffd8a549f2358a65c4c1c26c44c0db113e893 /Dockerfile
parentRemove leading empty strings from NsJail config args (diff)
Fix numpy install for test
Need to use `export` to set vars when && is used between the commands.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e9640c1..6b5e2f6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -79,7 +79,7 @@ ARG DEV
RUN if [ -n "${DEV}" ]; \
then \
pip install -U -r requirements/coverage.pip \
- && PYTHONUSERBASE=/snekbox/user_base \
+ && export PYTHONUSERBASE=/snekbox/user_base \
&& /lang/python/default/bin/python -m pip install --user numpy~=1.19; \
fi