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 committed Apr 12, 2024
1 parent 60926e3 commit 5a6604e
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 5a6604e

Please sign in to comment.