Skip to content

Commit

Permalink
fix: fail the image if any command from RUN fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolitzer authored and vfusco committed Apr 15, 2024
1 parent 1f0cdfc commit 06b1788
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ ARG BUILD_BASE=/opt/cartesi
ENV LINUX_HEADERS_FILEPATH=/tmp/linux-libc-dev-riscv64-cross-${LINUX_VERSION}-${IMAGE_KERNEL_VERSION}.deb

RUN <<EOF
set -e

export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get upgrade -y
Expand Down

0 comments on commit 06b1788

Please sign in to comment.