Skip to content

Commit 7577995

Browse files
committed
ensure some cache files are cleaned up
1 parent bd02e2e commit 7577995

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

repo2docker/buildpacks/pipfile/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ def get_preassemble_scripts(self):
8888
scripts = super().get_preassemble_scripts()
8989
# install pipenv to install dependencies within Pipfile.lock or Pipfile
9090
scripts.append(
91-
("${NB_USER}", "${KERNEL_PYTHON_PREFIX}/bin/pip install pipenv==2018.11.26")
91+
(
92+
"${NB_USER}",
93+
"${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir pipenv==2018.11.26",
94+
)
9295
)
9396
return scripts
9497

tests/venv/postBuild/postBuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22
jupyter nbextension enable --py --sys-prefix ipyleaflet
3-
npm install --global configurable-http-proxy
3+
npm install --global configurable-http-proxy
4+
npm cache clean --force

0 commit comments

Comments
 (0)