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

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

Custom build image with entrypoint

Hello together,

I've created a new docker image with a custom entry point to be used as build image for my project.

The new image is found by the build pipeline, but when the pipeline runs, it looks as if the custom entry point did not execute properly (it should generate some files based on environment variables).

Image looks like this:

FROM python
ENV CUSTOM_VARIABLE
COPY custom-entrypoint.sh /
ENTRYPOINT [ "/custom-entrypoint.sh" ]

Two questions:

  1. Can I view the full docker logs of the started pipeline? This would allow me to trace the issue... (on BitBucket - locally the process runs)
  2. Has anyone used custom entrypoints in bitbucket pipelines - should that be possible?

Best regards,
Alex

1 answer

Bitbucket Pipelines makes use of the step script which effectively renders the entrypoint void, it is not used.

Use it as a command in the step script:

/custom-entrypoint.sh

for testing.

Does this answer your questions?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Security Advisory for Jira Service Management

On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link.  We've seen a number of questions already asking for...

78 views 0 1
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