{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/606","repository_url":"https://api.github.com/repos/GoogleContainerTools/jib","labels_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/606/comments","events_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/606/events","html_url":"https://github.com/GoogleContainerTools/jib/issues/606","id":341086437,"node_id":"MDU6SXNzdWUzNDEwODY0Mzc=","number":606,"title":"Jib Image Built 48 Years Ago?","user":{"login":"geoffreywiseman","id":49935,"node_id":"MDQ6VXNlcjQ5OTM1","avatar_url":"https://avatars0.githubusercontent.com/u/49935?v=4","gravatar_id":"","url":"https://api.github.com/users/geoffreywiseman","html_url":"https://github.com/geoffreywiseman","followers_url":"https://api.github.com/users/geoffreywiseman/followers","following_url":"https://api.github.com/users/geoffreywiseman/following{/other_user}","gists_url":"https://api.github.com/users/geoffreywiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreywiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreywiseman/subscriptions","organizations_url":"https://api.github.com/users/geoffreywiseman/orgs","repos_url":"https://api.github.com/users/geoffreywiseman/repos","events_url":"https://api.github.com/users/geoffreywiseman/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreywiseman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-13T16:42:09Z","updated_at":"2018-07-13T16:46:28Z","closed_at":"2018-07-13T16:46:28Z","author_association":"NONE","body":"**Description of the issue**:\r\n\r\nI built an image with Jib, tried it on ECS -- didn't work. So I wanted to try it locally to diagnose what might be going wrong, so I did a `mvn jib:dockerBuild`. I then listed my images with `docker images` and the jib image wasn't at the top of the list. I looked around and found it, all the way at the bottom.  Under the CREATED column, the jib-built image says, \"48 years ago\".\r\n\r\nThe date looks ok on ECR, but that's the `pushed at` date. I tried pulling from ECR to my local docker and the image I got that way was also created 48 years ago. \r\n\r\nSo either I built this docker image back in 1970 before I was born, or, possibly, there's some kind of issue here, likely an epoch milliseconds of 0 somewhere. \r\n\r\nI'm not sure where this date comes, so I don't really know that it's a jib issue per se, but none of my other images have had this problem, so ... my first guess is that somehow it has something to do with jib? Feel free to tell me that I'm wrong. ;)\r\n\r\n**Expected behavior**:\r\n\r\nKinda expected the image to appear at the top of the list, created N minutes ago.\r\n\r\n**Steps to reproduce**: <!-- Please provide a minimal and precise series of steps -->\r\n\r\n`mvn jib:dockerBuild`\r\n\r\nor\r\n`mvn jib:build`\r\nfollowed by\r\n`docker pull <ECR_IMAGE>`\r\n\r\n**Environment**:\r\nmacOS 10.13.5\r\nMaven 3.5.4\r\nJava 1.8.0_172\r\nDocker v18.03.1-ce\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/comments/404888985","html_url":"https://github.com/GoogleContainerTools/jib/issues/606#issuecomment-404888985","issue_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/606","id":404888985,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDg4ODk4NQ==","user":{"login":"TadCordle","id":521881,"node_id":"MDQ6VXNlcjUyMTg4MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/521881?v=4","gravatar_id":"","url":"https://api.github.com/users/TadCordle","html_url":"https://github.com/TadCordle","followers_url":"https://api.github.com/users/TadCordle/followers","following_url":"https://api.github.com/users/TadCordle/following{/other_user}","gists_url":"https://api.github.com/users/TadCordle/gists{/gist_id}","starred_url":"https://api.github.com/users/TadCordle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TadCordle/subscriptions","organizations_url":"https://api.github.com/users/TadCordle/orgs","repos_url":"https://api.github.com/users/TadCordle/repos","events_url":"https://api.github.com/users/TadCordle/events{/privacy}","received_events_url":"https://api.github.com/users/TadCordle/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T16:46:28Z","updated_at":"2018-07-13T16:46:28Z","author_association":"MEMBER","body":"The timestamp is removed to maintain image reproducibility, so this is working as intended for now. However, we are discussing alternative ways of setting the timestamp since this issue seems to be coming up a lot.\r\n\r\nWe have #413 open to track this, so I'll close this one. Feel free to comment on that one."}}
{"actor":{"display_login":"TadCordle"}}