File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
repo2docker/buildpacks/conda Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,14 @@ if [[ -f /tmp/kernel-environment.yml ]]; then
5757
5858 conda env create -n kernel -f /tmp/kernel-environment.yml
5959 ${CONDA_DIR} /envs/kernel/bin/ipython kernel install --prefix " ${CONDA_DIR} "
60- rm -f ${CONDA_DIR} /envs/kernel/conda-meta/history
60+ echo ' ' > ${CONDA_DIR} /envs/kernel/conda-meta/history
6161fi
62- # remove conda history file,
62+ # empty conda history file,
6363# which seems to result in some effective pinning of packages in the initial env,
64- # which we don't intend
65- rm -f ${CONDA_DIR} /conda-meta/history
64+ # which we don't intend.
65+ # this file must not be *removed*, however
66+ echo ' ' > ${CONDA_DIR} /envs/kernel/conda-meta/history
67+
6668# Clean things out!
6769conda clean -tipsy
6870
You can’t perform that action at this time.
0 commit comments