Fix build issue in policy-api OpenSuse dockerfile
Prevent dockerfile from swallowing errors during build
Issue-ID: POLICY-4188
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I1db4a6ad71d99cf6ab80c09b75461738c5f01e6c
diff --git a/packages/policy-api-docker/src/main/docker/suse.Dockerfile b/packages/policy-api-docker/src/main/docker/suse.Dockerfile
index 0f4a405..67a73bb 100644
--- a/packages/policy-api-docker/src/main/docker/suse.Dockerfile
+++ b/packages/policy-api-docker/src/main/docker/suse.Dockerfile
@@ -32,7 +32,7 @@
ENV JAVA_HOME=/usr/lib64/jvm/java-11-openjdk-11
RUN zypper -n -q install --no-recommends gzip java-11-openjdk-headless netcat-openbsd tar && \
- zypper -n -q update; zypper -n -q clean --all && \
+ zypper -n -q update && zypper -n -q clean --all && \
groupadd --system policy && \
useradd --system --shell /bin/sh -G policy policy && \
mkdir -p /app $POLICY_LOGS $POLICY_HOME $POLICY_HOME/bin && \