comparison bamboo-agent/Dockerfile @ 326:b35f4af06ed4 production vv2.6.0

flow: Merged <release> 'v2.6.0' to <master> ('production').
author aldrich@ssdt-ohio.org
date Tue, 12 Nov 2019 16:16:00 +0000
parents 83f30dc7e9fb
children
comparison
equal deleted inserted replaced
303:5d759b614c90 326:b35f4af06ed4
1 FROM ubuntu:16.04 1 FROM ubuntu:16.04
2 2
3 RUN apt-get update 3 RUN apt-get update
4 RUN apt-get install -y ca-certificates 4 RUN apt-get install -y ca-certificates
5
6 ####NOTE we are no longer using the docker-bamboo agent images due to migration to mutli-agent servers.
5 7
6 # set up nsswitch.conf for Go's "netgo" implementation (which Docker explicitly uses) 8 # set up nsswitch.conf for Go's "netgo" implementation (which Docker explicitly uses)
7 # - https://github.com/docker/docker-ce/blob/v17.09.0-ce/components/engine/hack/make.sh#L149 9 # - https://github.com/docker/docker-ce/blob/v17.09.0-ce/components/engine/hack/make.sh#L149
8 # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275 10 # - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
9 # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf 11 # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf
34 36
35 && apt-get install -y unzip \ 37 && apt-get install -y unzip \
36 38
37 && apt-get install -y openjdk-8-jdk \ 39 && apt-get install -y openjdk-8-jdk \
38 40
39 && apt-get install -y zip 41 && apt-get install -y zip
42
43
44
45 #RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
46 #dpkg-reconfigure -f noninteractive tzdata
47
40 48
41 ENV ANT_VERSION 1.10.5 49 ENV ANT_VERSION 1.10.6
42 RUN cd && \ 50 RUN cd && \
43 curl -fL -o apache-ant-bin.tar.gz http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz && \ 51 curl -fL -o apache-ant-bin.tar.gz http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz && \
44 tar -xzf apache-ant-bin.tar.gz && \ 52 tar -xzf apache-ant-bin.tar.gz && \
45 mv apache-ant-${ANT_VERSION} /opt/ant && \ 53 mv apache-ant-${ANT_VERSION} /opt/ant && \
46 rm apache-ant-bin.tar.gz 54 rm apache-ant-bin.tar.gz
82 90
83 RUN curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose 91 RUN curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
84 92
85 RUN chmod +x /usr/local/bin/docker-compose 93 RUN chmod +x /usr/local/bin/docker-compose
86 94
95 RUN apt-get install tzdata
96
97 RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
98 dpkg-reconfigure -f noninteractive tzdata
99
87 ENTRYPOINT ["docker-entrypoint.sh"] 100 ENTRYPOINT ["docker-entrypoint.sh"]
88 101
89 CMD java -jar /root/atlassian-bamboo-agent-installer-6.5.0.jar $BAMBOO_SERVER/agentServer/ 102 CMD java -jar /root/atlassian-bamboo-agent-installer-6.5.0.jar $BAMBOO_SERVER/agentServer/
90 #CMD [] 103 #CMD []
91 104