From bb0667b77a21a32f5555ae5873658b7cc7157331 Mon Sep 17 00:00:00 2001 From: Roy Kim Date: Mon, 16 Mar 2020 11:41:53 +0900 Subject: [PATCH] [#noissue] merge lines --- pinpoint-collector/Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pinpoint-collector/Dockerfile b/pinpoint-collector/Dockerfile index 85dc230..bf96946 100644 --- a/pinpoint-collector/Dockerfile +++ b/pinpoint-collector/Dockerfile @@ -8,13 +8,13 @@ ARG INSTALL_URL=https://github.com/naver/pinpoint/releases/download/v${PINPOINT_ COPY /build/scripts/start-collector.sh /usr/local/bin/ -RUN chmod a+x /usr/local/bin/start-collector.sh -RUN curl -SL ${INSTALL_URL} -o pinpoint-collector.war -RUN rm -rf /usr/local/tomcat/webapps -RUN mkdir -p /usr/local/tomcat/webapps -RUN unzip pinpoint-collector.war -d /usr/local/tomcat/webapps/ROOT -RUN rm -rf pinpoint-collector.war -RUN sed -i "s/8005/9005/g" /usr/local/tomcat/conf/server.xml \ +RUN chmod a+x /usr/local/bin/start-collector.sh \ + && curl -SL ${INSTALL_URL} -o pinpoint-collector.war \ + && rm -rf /usr/local/tomcat/webapps \ + && mkdir -p /usr/local/tomcat/webapps \ + && unzip pinpoint-collector.war -d /usr/local/tomcat/webapps/ROOT \ + && rm -rf pinpoint-collector.war \ + && sed -i "s/8005/9005/g" /usr/local/tomcat/conf/server.xml \ && sed -i "s/8080/9080/g" /usr/local/tomcat/conf/server.xml \ && sed -i "s/8009/9009/g" /usr/local/tomcat/conf/server.xml \ && sed -i "s/8443/9443/g" /usr/local/tomcat/conf/server.xml