comparison 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
comparison
equal deleted inserted replaced
295:fb7d2a13bf6d 296:7fcdf01e19eb
45 mv apache-ant-${ANT_VERSION} /opt/ant && \ 45 mv apache-ant-${ANT_VERSION} /opt/ant && \
46 rm apache-ant-bin.tar.gz 46 rm apache-ant-bin.tar.gz
47 ENV ANT_HOME /opt/ant 47 ENV ANT_HOME /opt/ant
48 ENV PATH ${PATH}:/opt/ant/bin 48 ENV PATH ${PATH}:/opt/ant/bin
49 49
50
51 RUN cd && \
52 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 && \
53 tar -xzf apache-maven-bin.tar.gz && \
54 mv apache-maven-3.0.3 /usr/share && \
55 rm apache-maven-bin.tar.gz
56 ENV PATH ${PATH}:/usr/share/apache-maven-3.0.3/bin
57
50 RUN curl -fL -o docker.tgz "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz"; 58 RUN curl -fL -o docker.tgz "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz";
51 RUN tar --extract \ 59 RUN tar --extract \
52 --file docker.tgz \ 60 --file docker.tgz \
53 --strip-components 1 \ 61 --strip-components 1 \
54 --directory /usr/local/bin/ \ 62 --directory /usr/local/bin/ \