# HG changeset patch # User smith@nwoca.org # Date 1527092347 -3600 # Node ID bb2791f6d619a11b1cb74a14133620b98f6448df # Parent a7ae41f4a55b2558e102b6e3c494dce7e9b32191 add ant diff -r a7ae41f4a55b -r bb2791f6d619 bamboo-agent/Dockerfile --- a/bamboo-agent/Dockerfile Wed May 23 16:53:54 2018 +0100 +++ b/bamboo-agent/Dockerfile Wed May 23 17:19:07 2018 +0100 @@ -35,6 +35,15 @@ && apt-get install -y unzip \ && apt-get install -y openjdk-8-jdk + +ENV ANT_VERSION 1.10.3 +RUN cd && \ + curl -fL -o apache-ant-bin.tar.gz http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz && \ + tar -xzf apache-ant-bin.tar.gz && \ + mv apache-ant-${ANT_VERSION} /opt/ant && \ + rm apache-ant-${ANT_VERSION}-bin.tar.gz +ENV ANT_HOME /opt/ant +ENV PATH ${PATH}:/opt/ant/bin RUN curl -fL -o docker.tgz "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz"; RUN tar --extract \ @@ -52,14 +61,14 @@ #COPY modprobe.sh /usr/local/bin/modprobe COPY docker-entrypoint.sh /usr/local/bin/ - run chmod +x /usr/local/bin/docker-entrypoint.sh #EXPOSE 2375/tcp - COPY atlassian-bamboo-agent-installer-6.5.0.jar /root +RUN mkdir -p /root/bamboo-agent-home/bin +COPY bamboo-capabilities.properties /root/bamboo-agent-home/bin/bamboo-capabilities.properties ENTRYPOINT ["docker-entrypoint.sh"] diff -r a7ae41f4a55b -r bb2791f6d619 bamboo-agent/bamboo-capabilities.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bamboo-agent/bamboo-capabilities.properties Wed May 23 17:19:07 2018 +0100 @@ -0,0 +1,1 @@ +BambooTest=true \ No newline at end of file