| It seems with these changes we are making things more complex. What could have been a simple purpose-built container to perform very specific task (regardless if ran on Jenkins or wherever) now requires extra scripting to meet https://github.com/docker-library/official-images#consistency I would argue that some containers used in pipelines will never become official. Anyways, I'd like to leave my solution here in case someone hits this issue: I used to have in my Dockerfile:
ENTRYPOINT [ "python", "./my_script.py" ]
To make it work, added a new script (`./entrypoint,sh`):
And changed the Dockerfile:
ADD entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]
You people are smart, you can come with nicer solutions. But I got that goin' for me, which is nice. Thanks Jesse Glick and others for all the hard work on this stuff! |