Skip to content

Commit 229f53d

Browse files
committed
scripts: Don't try and build container if pulling fails
There are extra dependencies required to build the container that are not necessarily included on the CI hosts. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
1 parent 31d5fdb commit 229f53d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

scripts/dev_cli.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,6 @@ ensure_latest_ctr() {
166166

167167
$DOCKER_RUNTIME pull --platform "$PLATFORM" "$CTR_IMAGE"
168168

169-
if [ $? -ne 0 ]; then
170-
build_container
171-
fi
172-
173169
ok_or_die "Error pulling container image. Aborting."
174170
fi
175171
}

0 commit comments

Comments
 (0)