Skip to content

Commit 804f0bf

Browse files
authored
Add '-y' option to conda install (#1101)
1 parent 5d3a6b2 commit 804f0bf

File tree

1 file changed

+1
-1
lines changed
  • pkg/workloads/cortex/serve

1 file changed

+1
-1
lines changed

pkg/workloads/cortex/serve/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ -f "/mnt/project/conda-packages.txt" ]; then
4545
py_version_cmd='echo $(python -c "import sys; v=sys.version_info[:2]; print(\"{}.{}\".format(*v));")'
4646
old_py_version=$(eval $py_version_cmd)
4747

48-
conda install --file /mnt/project/conda-packages.txt
48+
conda install -y --file /mnt/project/conda-packages.txt
4949
new_py_version=$(eval $py_version_cmd)
5050

5151
# reinstall core packages if Python version has changed

0 commit comments

Comments
 (0)