diff --git a/maven-plugin/src/main/resources/build-distro/Dockerfile-jre7 b/maven-plugin/src/main/resources/build-distro/Dockerfile-jre7 index 071308c5..52372e33 100644 --- a/maven-plugin/src/main/resources/build-distro/Dockerfile-jre7 +++ b/maven-plugin/src/main/resources/build-distro/Dockerfile-jre7 @@ -9,7 +9,7 @@ COPY setenv.sh /usr/local/tomcat/bin/setenv.sh COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh COPY startup.sh /usr/local/tomcat/startup.sh -RUN sed '/Connector port="8080"/ URIEncoding="UTF-8"' /usr/local/tomcat/conf/server.xml +RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8"' /usr/local/tomcat/conf/server.xml RUN chmod +x /usr/local/tomcat/wait-for-it.sh RUN chmod +x /usr/local/tomcat/startup.sh \ No newline at end of file diff --git a/maven-plugin/src/main/resources/build-distro/Dockerfile-jre8 b/maven-plugin/src/main/resources/build-distro/Dockerfile-jre8 index 84316e24..d171c1d9 100644 --- a/maven-plugin/src/main/resources/build-distro/Dockerfile-jre8 +++ b/maven-plugin/src/main/resources/build-distro/Dockerfile-jre8 @@ -9,7 +9,7 @@ COPY setenv.sh /usr/local/tomcat/bin/setenv.sh COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh COPY startup.sh /usr/local/tomcat/startup.sh -RUN sed '/Connector port="8080"/ URIEncoding="UTF-8"' /usr/local/tomcat/conf/server.xml +RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8"' /usr/local/tomcat/conf/server.xml RUN chmod +x /usr/local/tomcat/wait-for-it.sh RUN chmod +x /usr/local/tomcat/startup.sh \ No newline at end of file