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

When running a pipe where do the docker images files get placed?

Creating a custom pipe docker image. In my docker image I have saved some files by including in my dockerfile.

COPY pipe.sh /
COPY some.file/

ENTRYPOINT ["/pipe.sh"]

 

I've noticed when running the command in my pipeline

pipe: mydocker.image

It sets the working directory to the main pipeline one

--workdir=$(pwd) \

I've tried using

cd $BITBUCKET_PIPE_STORAGE_DIR

but some.file from the docker image isn't there

 

How can I access some.file from my pipe.sh script?

 

 

 

1 answer

1 accepted

2 votes
Answer accepted

Took me a little bit but I realized everything gets put into the root of the container, I'll blame my trouble on it being a friday.

 

So the location of some.file will be 

/some.file

 

Hope this can help someone else on a Friday as well

Suggest an answer

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

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
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