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:
Best regards,
Alex
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.