fix: auto-accept conda tos

This commit is contained in:
Yeuoly
2026-01-14 22:14:06 +08:00
parent 45b580877a
commit 6841d4fce8
+2
View File
@@ -17,6 +17,8 @@ bash /tmp/miniconda.sh -b -p /opt/conda
rm /tmp/miniconda.sh
/opt/conda/bin/conda config --set always_yes yes --set changeps1 no
/opt/conda/bin/conda update -n base -c defaults conda
/opt/conda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
/opt/conda/bin/conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
# Install Node.js
curl -fsSL https://deb.nodesource.com/setup_{{ languages.nodejs.version }}.x | bash -