Skip to content
Prev Previous commit
removing --override-channels attribute in conda search command as it …
…would only install with pip then
  • Loading branch information
gauravsaini04 committed Jun 18, 2024
commit 18cc60f602ba87b2bddec79b6c8546602ef94152
2 changes: 1 addition & 1 deletion src/anaconda/.devcontainer/apply_security_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for ((i=0; i<rows; i++)); do
echo "${packages_array[$i,0]} version v${CURRENT_VERSION} installed by the base image is not greater or equal to the required: v${REQUIRED_VERSION}"
# Check whether conda channel has a greater or equal version available, so install from conda, otherwise use pip package manager
channel_name="anaconda"
CONDA_VERSION=$(conda search --override-channels "${packages_array[$i,0]}" -c "$channel_name" | \
CONDA_VERSION=$(conda search "${packages_array[$i,0]}" -c "$channel_name" | \
grep -E '^[[:alnum:]]' | \
awk '{print $2}' | \
sort -V | \
Expand Down