comparison bamboo-agent/Dockerfile @ 252:30d959c35269

fix ant install
author smith@nwoca.org
date Wed, 23 May 2018 17:22:04 +0100
parents bb2791f6d619
children 538179e4c675
comparison
equal deleted inserted replaced
251:bb2791f6d619 252:30d959c35269
39 ENV ANT_VERSION 1.10.3 39 ENV ANT_VERSION 1.10.3
40 RUN cd && \ 40 RUN cd && \
41 curl -fL -o apache-ant-bin.tar.gz http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz && \ 41 curl -fL -o apache-ant-bin.tar.gz http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz && \
42 tar -xzf apache-ant-bin.tar.gz && \ 42 tar -xzf apache-ant-bin.tar.gz && \
43 mv apache-ant-${ANT_VERSION} /opt/ant && \ 43 mv apache-ant-${ANT_VERSION} /opt/ant && \
44 rm apache-ant-${ANT_VERSION}-bin.tar.gz 44 rm apache-ant-bin.tar.gz
45 ENV ANT_HOME /opt/ant 45 ENV ANT_HOME /opt/ant
46 ENV PATH ${PATH}:/opt/ant/bin 46 ENV PATH ${PATH}:/opt/ant/bin
47 47
48 RUN curl -fL -o docker.tgz "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz"; 48 RUN curl -fL -o docker.tgz "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz";
49 RUN tar --extract \ 49 RUN tar --extract \