Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

setting permissions inside the docker container

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:08uid $UID
27-Nov-2015 10:04:08gid $GID

 

Is there somehting i have missed regarding the way to set the values in HOST_UID and HOST_GID?

1 answer

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

997 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you