-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print image build info when image is called without arguments and log base image info at cab startup #652
Comments
@SpheMakh help! I can't fix this because when I try to rebuild, |
oh no! on it |
The base image is indeed missing from dockerhub, but your cab seems to be using an outdated The base should have tag 1.6.4 (version 1.6.3) and not 1.2.6 as below
|
Ah yes, I had 1.2.6 set in my general: cabs section, because this was the test image I had built for my owlcat updates (while stimela master sat at 1.2.5). Dunno why it stopped working, maybe you built and pushed a different 1.2.6 at some point? I feel this whole image tagging business needs some restructuring, it's impossible to keep track of who built what where from what and why. I'll open an issue with a proposal... |
Please add the R2.0 milestone to your proposal |
BTW, do you override the entrypoint when you run the container? I was thinking that a default image entrypoint that simply echoed something like "stimela/owlcat:1.6.4 built by [email protected] on date XXX Stimela version YYY sha ZZZ" would make identification easier. And printing the same line when the container starts, so it's visible in the caracal log. More useful than the infinitely long hex container ID, anyway. The same info could be added as labels to the image. Of course this means there would have to be a script to automate docker build, can't just do all that by hand. |
Nope, I leave the entrypoint as the default.
I think it's better to leave the entrypoint as is, but set the CMD to print the message. And definitely print it when running the container
Agreed
|
Suddenly getting this:
Guessing it needs to be rebuilt with fstrings pip installed?
The text was updated successfully, but these errors were encountered: