From 84cfa5ac4b5b5b8f7cc751d06304f4a655dcd446 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Wed, 30 Oct 2024 10:30:27 +0100 Subject: [PATCH] start using heredoc in RUN commands --- Dockerfile | 67 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 27 deletions(-) diff --git a/Dockerfile b/Dockerfile index bedf918..687013a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,30 +94,39 @@ ARG INSTALL_DIR=/usr/local COPY --from=tomcat_dist /build/tcnative $BUILD_DIR/tcnative COPY --from=tomcat_dist /build/apr $BUILD_DIR/apr SHELL ["/bin/bash", "-euo", "pipefail", "-c"] -RUN yum install -y gcc make expat-devel java-${JAVA_MAJOR}-openjdk-devel redhat-rpm-config && \ - yum clean all +RUN <