-
Notifications
You must be signed in to change notification settings - Fork 202
Fabric8 MVN Plugin 3.5.41: Allow @sha256 digest for tags in FROM #1386
Comments
Yes, fabric8io/docker-maven-plugin#541 is still open, mostly because of lack of time and now picked it up to send a PR (shouldn't be hard to fix). As d-m-p is currently an intergral part of f-m-p, we need to update f-m-p then. There is issue #1327 to track this. Unfortunately, this is not trivial yet but is on the table. |
Thank you for the heads-up. I am looking forward to it. |
Can you inform me about the current state of this issue? Thank you^^ |
@rhuss Our Dockerfile FROM line contains a sha256 digest like We were looking forward to building Docker images with this schema, but still receive: Why is this still an issue? Wasn't it supposed to be fixed by the issue #1327? Thanks and regards |
Just fyi: out of curiosity I entered the regex into regex101.com to check if it is able to work with the sha256 digest. |
Anyone? |
Sorry, November is still crazy busy for me with travelling. @rohanKanojia @lordofthejars @dev-gaur anyone could pick up this issue ? d-m-p is supposed to fix this issue but this apparently didn't work,. |
@mmkonrad : Will provide an update within 1-2 working days |
Thank you a lot guys, I am looking forward to it. |
@mmkonrad : I have raised PR in dmp for this: fabric8io/docker-maven-plugin#1131 |
Sounds very good, thank you! What are your schedule plans for integrating the request and releasing it? |
@mmkonrad : I can't possibly comment on release plan(Since it's purely community-driven project). But I feel we would see a dmp release somewhere around Christmas holidays ;-) |
@mmkonrad I plan to make a dmp release this week. |
+ Update dmp to 0.28.0 + Changed a sample to pull dia sha digest
@mmkonrad : bdw, fmp 4.0.0-M2 has been released along with dmp update. Would really appreciate if you could try it out. |
Hello together, |
It is still not functioning, but there is a slight improvement:
|
@mmkonrad : ah, crap. I didn't test this for case when image also has tag with it 😞 . Does it work when you simply use solr@sha256***** ??? But why do you need a tag in image name when you're using image digest? |
That is actually a good question! The image is not coming from us but we have to rely on it anyway :( |
…1455) + Update dmp to 0.28.0 + Changed a sample to pull dia sha digest
@rohanKanojia @rhuss |
@mmkonrad : okay, would raise a PR on dmp side to resolve this in few days. |
Can you please tell me the current status? |
@mmkonrad : ah, apologies for the inconvenience caused. I missed this somehow :-( . Will try to look into it as soon as I get time |
Thank you. |
I see there was an additional reaction to your response. Should we re-open the issue, just for the sake of the workflow? |
To contribute sth instead of just asking for you support I created a pull request Enhance Fix 541. But it is not final, since
has not been adjusted accordingly. It looks like I have to invest some more time to figure out what is going on there -> "-p" either with tag OR digest? As you can see in the PR there are now additional constellations that have to be considered. |
Ah, it looks like I messed up the indents even more instead of fixing them. |
@mmkonrad : oh, I see. You don't have to worry about squashing commits. Github has a |
I reopened the PR without the indent issues: |
We just need to update to docker-maven-plugin 0.29.0 in order to fix this issue. |
So far everything looks good. Thank you for your support |
Hello there!
Today I ran into an error in Jenkins, using the fabric8 maven plugin, that seems to exist for quite some time. It got already reported in docker-maven-plugin Issue #541 but it looks like it never got fixed (Issue still open).
As the headline states the fabric8 maven plugin in version 3.5.41 is not able to process @sha256 digests.
In the docker-maven-plugin the responsible class seems to be ImageName.java. More likely the regex Patterns at the end of the file.
Does a solution to this problem already exist or exist plans to eliminate the problem?
If so, please give notice, that would be much appreciated
Cheers,
Marcus
Info
Start a Maven build with fabric8 maven plugin to build a docker image that holds a sha256 digest in the FROM clause in Dockerfile
Error Message:
Note: ### means anonymization of information
The text was updated successfully, but these errors were encountered: