[JIRA] (JENKINS-56294) dockerfile: ARG in FROM breaks docker inspect

2019-04-22 Thread dwight.g...@runtimeverification.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dwight Guth commented on  JENKINS-56294  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: dockerfile: ARG in FROM breaks docker inspect   
 

  
 
 
 
 

 
 This has been fixed in my pull request: https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/311 It would be nice to see some action on this PR so I don't have to keep relying on a manually-built HPI file for this plugin.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40723) Built Dockerfile images are never removed

2019-02-01 Thread dwight.g...@runtimeverification.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dwight Guth commented on  JENKINS-40723  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Built Dockerfile images are never removed   
 

  
 
 
 
 

 
 I definitely side with the people who think that this was resolved prematurely. We have been running docker image prune on our Jenkins node that we recently migrated to dockerfiles, and each time it ran it was freeing up less and less space. What we eventually realized is that because Jenkins is tagging every build with a tag corresponding to the hash of the dockerfile, when the dockerfile changes, it does not untag the old build (because the new tag is different from the old tag), so the old build is not marked as dangling, and you have to run the significantly more aggressive `docker image prune -a` to clean it up. I believe Jenkins should be tagging these builds with something that is deterministic across builds to the same job and branch, and deleting all the tags associated with change requests when the change request closes and the jenkins branch is deleted.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.