Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Docker build is failing through bitbucket pipeline where working properly in local

While trying to build docker image from pipeline , its failing .

DockerFile :

FROM openjdk

VOLUME ./tmp/

COPY abc.jar app.jar

EXPOSE 8080 8443 8000

COPY ./docker-entrypoint.sh /docker-entrypoint.sh

ENTRYPOINT ["/docker-entrypoint.sh"]RUN chmod +x /docker-entrypoint.shCMD ["start"]

 

It's failing in STEP 3 , while COPY

cc1a78bfd46b: Pull complete6861473222a6: Pull complete7e0b9c3b5ae0: Pull complete3ec98735f56f: Pull complete55160131808f: Pull completea8dbacf623ff: Pull complete8145eb5a3756: Pull completee00673c707b5: Pull completeb21012f36779: Pull complete

Digest: sha256:ebc02db26801d79889a0893950163a7d5b7bc63e8b23a7665777357cebe696e6Status:

Downloaded newer image for openjdk:latest ---> c3e386dcd062Step

2/8 : VOLUME ./tmp/ ---> Running in bf3f3c3034c9Removing intermediate container bf3f3c3034c9 ---> 8e8d7cd27aceStep

3/8 : COPY abc.jar app.jar

 

COPY failed: stat /var/lib/docker/tmp/docker-builder599292381/abc.jar: no such file or directory
Build teardown
2s

1 comment

Same issue for me as well. Any clues how to solve this?

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

225 views 2 9
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