ensure some cache files are cleaned up
MODIFY
repo2docker/buildpacks/pipfile/__init__.py
repo2docker/buildpacks/pipfile/__init__.py
@@ -88,7 +88,10 @@ class PipfileBuildPack(CondaBuildPack):
scripts = super().get_preassemble_scripts()
# install pipenv to install dependencies within Pipfile.lock or Pipfile
scripts.append(
- ("${NB_USER}", "${KERNEL_PYTHON_PREFIX}/bin/pip install pipenv==2018.11.26")
+ (
+ "${NB_USER}",
+ "${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir pipenv==2018.11.26",
+ )
)
return scripts

MODIFY
tests/venv/postBuild/postBuild
tests/venv/postBuild/postBuild
#!/bin/bash
jupyter nbextension enable --py --sys-prefix ipyleaflet
npm install --global configurable-http-proxy
+npm cache clean --force

ensure some cache files are cleaned up