Fix conda docker build error logic

This commit is contained in:
Demannu committed 2025-02-11 16:41:20 -05:00
1 parent 591d86978b
commit 62fd9ce2e5
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ COPY build/environment-*.yml environment.yml
RUN <<EOR
RESULT=$( { conda env create -f environment.yml ; } 2>&1 )
if echo $RESULT | grep -izq error ; then
if [ $? -ne 0 ] ; then
echo "Failed to install conda dependencies: $RESULT"
exit 1
fi