Skip to content

Commit f6ecb28

Browse files
authored
Merge pull request #1208 from consideRatio/pr/fix-pipfile-clear
pipfile: pass --clear flag, and do it separetely to not be ignored
2 parents 442951d + 9a80e95 commit f6ecb28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

repo2docker/buildpacks/pipfile/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ def get_assemble_scripts(self):
154154
"${NB_USER}",
155155
"""(cd {working_directory} && \\
156156
PATH="${{KERNEL_PYTHON_PREFIX}}/bin:$PATH" \\
157-
pipenv install {install_option} --system --dev \\
157+
pipenv install {install_option} --system --dev && \\
158+
pipenv --clear \\
158159
)""".format(
159160
working_directory=working_directory,
160161
install_option="--ignore-pipfile"

0 commit comments

Comments
 (0)