{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/5041","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/5041/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/5041/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/5041/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/5041","id":204415334,"number":5041,"title":"Docker file fails to build","user":{"login":"MitchDresdner","id":4605105,"avatar_url":"https://avatars.githubusercontent.com/u/4605105?v=3","gravatar_id":"","url":"https://api.github.com/users/MitchDresdner","html_url":"https://github.com/MitchDresdner","followers_url":"https://api.github.com/users/MitchDresdner/followers","following_url":"https://api.github.com/users/MitchDresdner/following{/other_user}","gists_url":"https://api.github.com/users/MitchDresdner/gists{/gist_id}","starred_url":"https://api.github.com/users/MitchDresdner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitchDresdner/subscriptions","organizations_url":"https://api.github.com/users/MitchDresdner/orgs","repos_url":"https://api.github.com/users/MitchDresdner/repos","events_url":"https://api.github.com/users/MitchDresdner/events{/privacy}","received_events_url":"https://api.github.com/users/MitchDresdner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-01-31T20:31:55Z","updated_at":"2017-01-31T23:44:11Z","closed_at":"2017-01-31T21:08:00Z","body":"- Please follow the issue template below for bug reports and feature requests.\r\n- Tickets opened without any of these informations will be **closed** without any explanation.\r\n\r\n##### **Overview of the issue**\r\n\r\nUnable to build Docker image\r\n\r\n##### **Motivation for or Use Case**\r\n\r\nNeeded for Docker\r\n\r\n##### **Reproduce the error**\r\n\r\nrun: gradle buildDocker\r\n\r\n##### **Related issues**\r\n\r\nI dunno?\r\n\r\n##### **Suggest a Fix**\r\n\r\n\r\nChange references from: war   to: jar\r\n\r\nIn src/main/Docker/Dockerfile\r\n    gradle/docker.gradle\r\n\r\n##### **JHipster Version(s)**\r\n\r\nlatest\r\n\r\n##### **JHipster configuration**\r\n\r\nn/a\r\n\r\n##### **Entity configuration(s) `entityName.json` files generated in the `.jhipster` directory**\r\n\r\nn/a\r\n\r\n##### **Browsers and Operating System**\r\n\r\nWindows10\r\n\r\n- [X] Checking this box is mandatory (this is just to show you read everything)\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/276530229","html_url":"https://github.com/jhipster/generator-jhipster/issues/5041#issuecomment-276530229","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/5041","id":276530229,"user":{"login":"MitchDresdner","id":4605105,"avatar_url":"https://avatars.githubusercontent.com/u/4605105?v=3","gravatar_id":"","url":"https://api.github.com/users/MitchDresdner","html_url":"https://github.com/MitchDresdner","followers_url":"https://api.github.com/users/MitchDresdner/followers","following_url":"https://api.github.com/users/MitchDresdner/following{/other_user}","gists_url":"https://api.github.com/users/MitchDresdner/gists{/gist_id}","starred_url":"https://api.github.com/users/MitchDresdner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitchDresdner/subscriptions","organizations_url":"https://api.github.com/users/MitchDresdner/orgs","repos_url":"https://api.github.com/users/MitchDresdner/repos","events_url":"https://api.github.com/users/MitchDresdner/events{/privacy}","received_events_url":"https://api.github.com/users/MitchDresdner/received_events","type":"User","site_admin":false},"created_at":"2017-01-31T23:44:11Z","updated_at":"2017-01-31T23:44:11Z","body":"<!-- DIV {margin:0px;} -->thanks!was planning to get back to it in the morning and thinking gradle wasn't in the proper state to build the docker image, as you confirm.  -----Original Message-----\nFrom: Pascal Grimaud \nSent: Jan 31, 2017 4:27 PM\nTo: jhipster/generator-jhipster \nCc: Mitch Dresdner , Mention \nSubject: Re: [jhipster/generator-jhipster] Docker file fails to build (#5041)\n\n@MitchDresdner : your messages are very hard to read...\nAnyway, your logs indicate your problem:\nUsing cache ---> d035ab6c47d9Step\n3/7 : ADD *.war /app.war\nNo source files were specified\n:buildDocker FAILED\n\nYour command is not enough: gradle buildDocker\nYou need the war file, so it is: gradle bootRepackage buildDocker\n\n—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.\n\n\n  \n  \n\n\n\n\n{\"api_version\":\"1.0\",\"publisher\":{\"api_key\":\"05dde50f1d1a384dd78767c55493e4bb\",\"name\":\"GitHub\"},\"entity\":{\"external_key\":\"github/jhipster/generator-jhipster\",\"title\":\"jhipster/generator-jhipster\",\"subtitle\":\"GitHub repository\",\"main_image_url\":\"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png\",\"avatar_image_url\":\"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png\",\"action\":{\"name\":\"Open in GitHub\",\"url\":\"https://github.com/jhipster/generator-jhipster\"}},\"updates\":{\"snippets\":[{\"icon\":\"PERSON\",\"message\":\"@pascalgrimaud in #5041: @MitchDresdner : your messages are very hard to read... \\r\\n\\r\\nAnyway, your logs indicate your problem:\\r\\n```\\r\\nUsing cache ---\\u003e d035ab6c47d9Step\\r\\n3/7 : ADD *.war /app.war\\r\\nNo source files were specified\\r\\n:buildDocker FAILED\\r\\n```\\r\\n\\r\\nYour command is not enough: `gradle buildDocker`\\r\\n\\r\\nYou need the war file, so it is: `gradle bootRepackage buildDocker`\"}],\"action\":{\"name\":\"View Issue\",\"url\":\"https://github.com/jhipster/generator-jhipster/issues/5041#issuecomment-276497836\"}}}"}}
{"actor":{"display_login":"MitchDresdner"}}