diff bamboo-agent/Dockerfile @ 296:7fcdf01e19eb

adding maven 3 to bamboo agents
author aldrich@nwoca.org
date Wed, 06 Feb 2019 18:31:12 +0000
parents 477609392d1b
children 44f0c4e37a7c
line wrap: on
line diff
--- a/bamboo-agent/Dockerfile	Thu Dec 27 10:42:36 2018 -0500
+++ b/bamboo-agent/Dockerfile	Wed Feb 06 18:31:12 2019 +0000
@@ -47,6 +47,14 @@
 ENV ANT_HOME /opt/ant
 ENV PATH ${PATH}:/opt/ant/bin
 
+
+RUN cd && \
+    curl -fL -o apache-maven-bin.tar.gz http://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.3/apache-maven-3.0.3-bin.tar.gz  && \
+    tar -xzf apache-maven-bin.tar.gz && \
+     mv apache-maven-3.0.3 /usr/share  && \
+    rm apache-maven-bin.tar.gz
+ENV PATH ${PATH}:/usr/share/apache-maven-3.0.3/bin
+
 RUN curl -fL -o docker.tgz "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz"; 
 RUN	tar --extract \
 		--file docker.tgz \