Guest User

Untitled

a guest
May 8th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. FROM docker-registry..../base-stretch:latest
  2.  
  3. RUN mkdir -p /opt/bamboo/agent/bin
  4.  
  5. RUN apt-get update && apt-get install -y \
  6.     openjdk-8-jdk
  7.  
  8. RUN apt-get clean && \
  9.     rm -f /var/cache/apt/archives/*.deb
  10.  
  11. RUN wget -q https://my-host/agentServer/agentInstaller/atlassian-bamboo-agent-installer.jar -O /opt/bamboo/bamboo-cloud-agent.jar
  12.  
  13. ENTRYPOINT [ "java", "-Dbamboo.home=/opt/bamboo/agent", "-jar", "/opt/bamboo/bamboo-cloud-agent.jar", "https://my-host/agentServer/" ]
Add Comment
Please, Sign In to add comment