Cool. So then since I do not need git or mercurial, what volume mount do I need for my image so the code can be mounted in it? What I a trying to do is run a command from within my container in the pipeline to generate the files and get those published over to my deployment server.
Assuming that you mean a bamboo remote agent running inside a docker container - we've found that having git installed inside the container is more stable. Find the bamboo remote agent image that Atlassian maintains for how to write your Dockerfile. Note that you need to define a capability for git so that Bamboo knows it's there. You do this with a script they provide. It would look something like this (we use CentOS as the base image):
RUN yum install git RUN /root/bamboo-update-capability.sh "system.git.executable" "/usr/bin/git"
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs