Skip to content

Commit 1e32fde

Browse files
committed
add set -e to hive build
1 parent cc38671 commit 1e32fde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hive/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
5353
# Cache mounts are owned by root by default
5454
# We need to explicitly give the uid to use
5555
RUN --mount=type=cache,id=maven-hive-${PRODUCT_VERSION},uid=${STACKABLE_USER_UID},target=/stackable/.m2/repository <<EOF
56+
set -e
57+
5658
BUILD_SRC_DIR="$(cat /tmp/HIVE_SOURCE_DIR)" || exit 1
5759
rm /tmp/HIVE_SOURCE_DIR
5860
cd "$BUILD_SRC_DIR"

0 commit comments

Comments
 (0)