{"action":"created","issue":{"url":"https://api.github.com/repos/olivere/elastic/issues/810","repository_url":"https://api.github.com/repos/olivere/elastic","labels_url":"https://api.github.com/repos/olivere/elastic/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/olivere/elastic/issues/810/comments","events_url":"https://api.github.com/repos/olivere/elastic/issues/810/events","html_url":"https://github.com/olivere/elastic/issues/810","id":335752623,"node_id":"MDU6SXNzdWUzMzU3NTI2MjM=","number":810,"title":"When Multistage Build on Docker file \" No Elastic Node Aviable \"","user":{"login":"Navapon","id":23555986,"node_id":"MDQ6VXNlcjIzNTU1OTg2","avatar_url":"https://avatars3.githubusercontent.com/u/23555986?v=4","gravatar_id":"","url":"https://api.github.com/users/Navapon","html_url":"https://github.com/Navapon","followers_url":"https://api.github.com/users/Navapon/followers","following_url":"https://api.github.com/users/Navapon/following{/other_user}","gists_url":"https://api.github.com/users/Navapon/gists{/gist_id}","starred_url":"https://api.github.com/users/Navapon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Navapon/subscriptions","organizations_url":"https://api.github.com/users/Navapon/orgs","repos_url":"https://api.github.com/users/Navapon/repos","events_url":"https://api.github.com/users/Navapon/events{/privacy}","received_events_url":"https://api.github.com/users/Navapon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-26T10:20:23Z","updated_at":"2018-07-20T10:47:29Z","closed_at":"2018-07-20T10:47:29Z","author_association":"NONE","body":"Using ElasticSearch Version \r\n\r\n[ ] elastic.v6 (for Elasticsearch 6.1.2)\r\n\r\n### Please describe the expected behavior\r\n\r\n## Expect move binary file to small images && Can run normally\r\n\r\nI'm wanna use Docker multistage build images with Olivere / elastic \r\nbut when I'm trying to move an executed  go binary file from builder stage has to error \r\n`\r\ntime=09-09-26068 09:09:00 level=error msg=no active connection found: no Elasticsearch node available host=045b4f45f939 layer=STORAGE model=NewElastic`\r\n\r\nBut !! if i don't move execute file from builder stage just leave it in to builder container and delete seconds build stage this error is not happen i'm currious what i'm missing \r\n\r\nIs this library require some lib. Below is my Dockerfile\r\n\r\n```\r\nFROM 3dsinteractive/go-librdkafka:v1 as builder\r\nADD ./api-consumer/ /go/\r\n\r\nWORKDIR /go/src/pushandmotion.com/pushconsumer\r\n\r\nRUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && \\\r\n    dep ensure && \\\r\n    go build -o /app/pushconsumer -tags static_all\r\n\r\n#This can run normally\r\nENTRYPOINT [\"/app/pushconsumer\"]\r\n\r\nEXPOSE 8000\r\n\r\n#Promblem is happen when copy binary file from builder\r\nFROM alpine:3.6\r\n    \r\nWORKDIR /root/\r\nCOPY --from=builder /app/pushconsumer .\r\nENTRYPOINT [\"/root/pushconsumer\"]\r\n```\r\n\r\n\r\n### Please describe the actual behavior\r\n\r\n## When move execute file to small image has promble \" No Elastic Node Aviable \"\r\n\r\nI'm already open elasticsearch in browser and ping inside the container it's work fine\r\n"},"comment":{"url":"https://api.github.com/repos/olivere/elastic/issues/comments/406564685","html_url":"https://github.com/olivere/elastic/issues/810#issuecomment-406564685","issue_url":"https://api.github.com/repos/olivere/elastic/issues/810","id":406564685,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjU2NDY4NQ==","user":{"login":"olivere","id":134848,"node_id":"MDQ6VXNlcjEzNDg0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/134848?v=4","gravatar_id":"","url":"https://api.github.com/users/olivere","html_url":"https://github.com/olivere","followers_url":"https://api.github.com/users/olivere/followers","following_url":"https://api.github.com/users/olivere/following{/other_user}","gists_url":"https://api.github.com/users/olivere/gists{/gist_id}","starred_url":"https://api.github.com/users/olivere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivere/subscriptions","organizations_url":"https://api.github.com/users/olivere/orgs","repos_url":"https://api.github.com/users/olivere/repos","events_url":"https://api.github.com/users/olivere/events{/privacy}","received_events_url":"https://api.github.com/users/olivere/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T10:47:29Z","updated_at":"2018-07-20T10:47:29Z","author_association":"OWNER","body":"@Navapon I have been trying to reproduce this with https://github.com/olivere/elastic-with-docker (now updated to work with ES 6.x), but I couldn't. Maybe you can try it with that repo, and I'll re-open here if you can get the bug there. Thank you."}}
{"actor":{"display_login":"olivere"}}