{"action":"opened","issue":{"url":"https://api.github.com/repos/Netflix/flamescope/issues/66","repository_url":"https://api.github.com/repos/Netflix/flamescope","labels_url":"https://api.github.com/repos/Netflix/flamescope/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/flamescope/issues/66/comments","events_url":"https://api.github.com/repos/Netflix/flamescope/issues/66/events","html_url":"https://github.com/Netflix/flamescope/issues/66","id":394613881,"node_id":"MDU6SXNzdWUzOTQ2MTM4ODE=","number":66,"title":"master `Dockerfile` is broken","user":{"login":"nobeh","id":1003027,"node_id":"MDQ6VXNlcjEwMDMwMjc=","avatar_url":"https://avatars3.githubusercontent.com/u/1003027?v=4","gravatar_id":"","url":"https://api.github.com/users/nobeh","html_url":"https://github.com/nobeh","followers_url":"https://api.github.com/users/nobeh/followers","following_url":"https://api.github.com/users/nobeh/following{/other_user}","gists_url":"https://api.github.com/users/nobeh/gists{/gist_id}","starred_url":"https://api.github.com/users/nobeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobeh/subscriptions","organizations_url":"https://api.github.com/users/nobeh/orgs","repos_url":"https://api.github.com/users/nobeh/repos","events_url":"https://api.github.com/users/nobeh/events{/privacy}","received_events_url":"https://api.github.com/users/nobeh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T11:17:22Z","updated_at":"2018-12-28T11:17:22Z","closed_at":null,"author_association":"NONE","body":"Recent refactorings specifically b496f7787c52550fc3dc072ba538bcdc86f5e8d7 seems to have bumped the required Python from 2.7 to 3.6. In addition, `libmagic` is assumed to be installed for Python binding. These are not yet updated in `Dockerfile`; the following patch seems to fix the problem until a fix is merged:\r\n\r\n```diff\r\ndiff --git a/Dockerfile b/Dockerfile\r\nindex e4c1346..23cba5c 100644\r\n--- a/Dockerfile\r\n+++ b/Dockerfile\r\n@@ -1,11 +1,12 @@\r\n-FROM python:2-alpine3.7\r\n+FROM python:3-alpine3.8\r\n \r\n ADD app /app/app\r\n ADD run.py /app\r\n ADD requirements.txt /app\r\n \r\n-RUN cd /app && \\\r\n-  pip install -r requirements.txt && \\\r\n+RUN apk add libmagic && \\\r\n+  cd /app && \\ \\\r\n+  pip3 install -r requirements.txt && \\\r\n   mkdir /profiles && \\\r\n   sed -i -e s/127.0.0.1/0.0.0.0/g -e s~examples~/profiles~g app/config.py\r\n```\r\n\r\n**Side Note** It would be great if there would be tags on the repo so that community could rely on a working version. "}}
{"actor":{"display_login":"nobeh"}}