{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/1779","repository_url":"https://api.github.com/repos/hashicorp/nomad","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/1779/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/1779/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/1779/events","html_url":"https://github.com/hashicorp/nomad/issues/1779","id":180566247,"number":1779,"title":"[question]Nomad v0.4.1 is dynamically linked.","user":{"login":"FGtatsuroWork","id":2298472,"avatar_url":"https://avatars.githubusercontent.com/u/2298472?v=3","gravatar_id":"","url":"https://api.github.com/users/FGtatsuroWork","html_url":"https://github.com/FGtatsuroWork","followers_url":"https://api.github.com/users/FGtatsuroWork/followers","following_url":"https://api.github.com/users/FGtatsuroWork/following{/other_user}","gists_url":"https://api.github.com/users/FGtatsuroWork/gists{/gist_id}","starred_url":"https://api.github.com/users/FGtatsuroWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FGtatsuroWork/subscriptions","organizations_url":"https://api.github.com/users/FGtatsuroWork/orgs","repos_url":"https://api.github.com/users/FGtatsuroWork/repos","events_url":"https://api.github.com/users/FGtatsuroWork/events{/privacy}","received_events_url":"https://api.github.com/users/FGtatsuroWork/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-03T05:33:48Z","updated_at":"2016-10-03T05:34:20Z","closed_at":"2016-10-03T05:33:59Z","body":"### Nomad version\r\nNomad v0.4.1\r\n\r\n### Operating system and Environment details\r\nAlpine Linux 3.3(Docker container)\r\n\r\n### Issue\r\n\r\nWhen I run Nomad on Alpine Linux, I found binary of Nomad v0.4.1 may require glibc for its dynamic link. \r\nI want to know whether this fact is intended.\r\n\r\nFYI: There was a similar issue on Terraform.\r\n- https://github.com/hashicorp/terraform/issues/6714\r\n\r\n### Reproduction steps\r\n1. Run container(Alpine 3.3).\r\n\r\n```\r\n$ docker run -it -d --name container alpine:3.3 /bin/sh\r\n```\r\n\r\n2. Exec shell on container.\r\n\r\n```\r\n$ docker exec -it container /bin/sh\r\n```\r\n\r\n3. Update apk repository and install openssl for https.\r\n\r\n```\r\n(container)# apk update && apk add openssl\r\n```\r\n\r\n4. Fetch Nomad archive and extract it.\r\n\r\n```\r\n(container)# wget https://releases.hashicorp.com/nomad/0.4.1/nomad_0.4.1_linux_amd64.zip\r\n(container)# unzip nomad_0.4.1_linux_amd64.zip\r\n```\r\n\r\n5. Try to run Nomad, but can't.\r\n\r\n```\r\n(container)# chmod a+x nomad\r\n(container)# ./nomad version\r\n/bin/sh: ./nomad: not found\r\n```\r\n\r\n6. Check whether Nomad binary is dynamically linked.\r\n\r\n```\r\n(container)# apk add file\r\n\r\n(container)# file nomad\r\nnomad: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=7f03d53232d68b13363a878a957e12b46ab356b4, not stripped\r\n\r\n(container)# ldd nomad\r\n        /lib64/ld-linux-x86-64.so.2 (0x560f4ad1e000)\r\n        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x560f4ad1e000)\r\n        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x560f4ad1e000)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/comments/251029913","html_url":"https://github.com/hashicorp/nomad/issues/1779#issuecomment-251029913","issue_url":"https://api.github.com/repos/hashicorp/nomad/issues/1779","id":251029913,"user":{"login":"FGtatsuroWork","id":2298472,"avatar_url":"https://avatars.githubusercontent.com/u/2298472?v=3","gravatar_id":"","url":"https://api.github.com/users/FGtatsuroWork","html_url":"https://github.com/FGtatsuroWork","followers_url":"https://api.github.com/users/FGtatsuroWork/followers","following_url":"https://api.github.com/users/FGtatsuroWork/following{/other_user}","gists_url":"https://api.github.com/users/FGtatsuroWork/gists{/gist_id}","starred_url":"https://api.github.com/users/FGtatsuroWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FGtatsuroWork/subscriptions","organizations_url":"https://api.github.com/users/FGtatsuroWork/orgs","repos_url":"https://api.github.com/users/FGtatsuroWork/repos","events_url":"https://api.github.com/users/FGtatsuroWork/events{/privacy}","received_events_url":"https://api.github.com/users/FGtatsuroWork/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T05:34:20Z","updated_at":"2016-10-03T05:34:20Z","body":"Sorry. I re-create issue later."}}
{"actor":{"display_login":"FGtatsuroWork"}}