{"action":"closed","issue":{"url":"https://api.github.com/repos/bitwalker/distillery/issues/135","repository_url":"https://api.github.com/repos/bitwalker/distillery","labels_url":"https://api.github.com/repos/bitwalker/distillery/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/bitwalker/distillery/issues/135/comments","events_url":"https://api.github.com/repos/bitwalker/distillery/issues/135/events","html_url":"https://github.com/bitwalker/distillery/issues/135","id":188321917,"number":135,"title":"Docker and Distillery","user":{"login":"mvbaffa","id":1565670,"avatar_url":"https://avatars.githubusercontent.com/u/1565670?v=3","gravatar_id":"","url":"https://api.github.com/users/mvbaffa","html_url":"https://github.com/mvbaffa","followers_url":"https://api.github.com/users/mvbaffa/followers","following_url":"https://api.github.com/users/mvbaffa/following{/other_user}","gists_url":"https://api.github.com/users/mvbaffa/gists{/gist_id}","starred_url":"https://api.github.com/users/mvbaffa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvbaffa/subscriptions","organizations_url":"https://api.github.com/users/mvbaffa/orgs","repos_url":"https://api.github.com/users/mvbaffa/repos","events_url":"https://api.github.com/users/mvbaffa/events{/privacy}","received_events_url":"https://api.github.com/users/mvbaffa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-09T18:46:00Z","updated_at":"2016-11-09T19:03:38Z","closed_at":"2016-11-09T19:03:38Z","body":"Hi,\r\n\r\nI am trying to deploy my Distillery package in a Docker container. \r\n\r\nMy Docker file is like this:\r\n\r\n```\r\nFROM bitwalker/alpine-erlang:latest\r\n\r\n# Maintainers\r\nMAINTAINER XXX XXX@XXX.COM\r\n\r\n# Exposes this port from the docker container to the host machine\r\nEXPOSE 4000\r\n\r\n# Install other stable dependencies that don't change often\r\nENV TERM=xterm \\\r\n    MIX_ENV=prod \\\r\n    REPLACE_OS_VARS=true \\\r\n    APP_NAME=app-name \\\r\n    APP_VERSION=0.1.0\r\n\r\nRUN mkdir /app\r\nADD . /app\r\n\r\nWORKDIR /app/app-name/bin\r\n\r\nCMD [\"/app/app-name/bin/app-name\", \"foreground\"]\r\n\r\nThe image is created and when I run I receive the following error:\r\n\r\n```\r\nxec: /app/stone_merchant_monitor/erts-8.0/bin/erlexec -noshell -noinput +Bd -boot /app/stone_merchant_monitor/releases/0.1.0/stone_merchant_monitor -mode embedded -config /app/stone_merchant_monitor/releases/0.1.0/sys.config -boot_var ERTS_LIB_DIR /app/stone_merchant_monitor/erts-8.0/../lib -args_file /app/stone_merchant_monitor/releases/0.1.0/vm.args -env ERL_LIBS /app/stone_merchant_monitor/lib -pa /app/stone_merchant_monitor/lib/stone_merchant_monitor-0.1.0/consolidated -extra -- foreground\r\nRoot: /app/stone_merchant_monitor\r\n/app/stone_merchant_monitor/releases/0.1.0/stone_merchant_monitor.sh: line 552: ## /app/stone_merchant_monitor/erts-8.0/bin/erlexec: not found\r\n```\r\n\r\nCan you help me. The application is runnig perfectly.\r\n\r\nThanks in adcance\r\n\r\n```"}}
{"actor":{"display_login":"bitwalker"}}