This question is in reference to Atlassian Documentation: Configuring the Docker task in Bamboo
I tried to set the permissions in the docker container by setting $HOST_UID and $HOST_GID and then run
chown -R $HOST_UID:$HOST_GID /<path_to_mounted_volume>
inside the container. this does not work, there is not values in $UID and $GID
This was suggested on https://confluence.atlassian.com/bamboo/configuring-the-docker-task-in-bamboo-720411254.html
setting the enviroment variables:
bamboo_docker.png
The echo does not contain the values only the strings (from the buld log):
27-Nov-2015 10:04:08 | uid $UID |
27-Nov-2015 10:04:08 | gid $GID |
Is there somehting i have missed regarding the way to set the values in HOST_UID and HOST_GID?
Bamboo doesn't seem to expand any variable configured in the Docker Task.
I've created bug report BAM-16989 for this.
I also added a comment to the bug report that describes a workaround.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.