Fix conda docker build error logic
This commit is contained in:
1 parent
591d86978b
commit
62fd9ce2e5
3 files changed
+6
-6
No files matched your search
@@ -54,7 +54,7 @@ RUN <<EOR
|
||||
-c anaconda \
|
||||
-c nvidia ; } 2>&1 )
|
||||
|
||||
if echo $RESULT | grep -izq error ; then
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "Failed to install conda dependencies: $RESULT"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user