ATS-400 : Build improvements for TravisCI (#24)

* ATS-400 : Build improvements for TravisCI

Building the LibreOffice docker image takes a long time due to the
large packages that need to be downloaded and installed. This results
in more than 10 minutes of inactivity in the build log and TravisCI
kills the job.
Improvements:
- remove and replace unnecessary steps in Docker builds
- cache LibreOffice GZIP distribution in Travis
This commit is contained in:
CezarLeahu
2019-05-20 13:38:44 +03:00
committed by GitHub
parent 27a55855fb
commit 053a6f16e8
10 changed files with 43 additions and 36 deletions

View File

@@ -17,9 +17,7 @@ ARG USERID=33004
COPY target/alfresco-docker-tika-${env.project_version}.jar /usr/bin
RUN ln /usr/bin/alfresco-docker-tika-${env.project_version}.jar /usr/bin/alfresco-docker-tika.jar && \
yum install -y wget && \
wget $APACHE_LICENSE_FILE && \
yum remove -y wget && \
curl -s -S $APACHE_LICENSE_FILE -o Apache\ 2.0.txt && \
yum clean all
ADD target/generated-resources/licenses /licenses

View File

@@ -139,7 +139,6 @@
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<configuration>
<verbose/>
<images>
<image>
<name>${image.name}:${image.tag}</name>
@@ -184,7 +183,6 @@
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<configuration>
<verbose/>
<images>
<!-- QuayIO image -->
<image>
@@ -226,7 +224,6 @@
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<configuration combine.self="override">
<verbose/>
<images>
<!-- QuayIO image -->
<image>