{"action":"created","issue":{"url":"https://api.github.com/repos/Kagami/ffmpeg.js/issues/44","repository_url":"https://api.github.com/repos/Kagami/ffmpeg.js","labels_url":"https://api.github.com/repos/Kagami/ffmpeg.js/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/Kagami/ffmpeg.js/issues/44/comments","events_url":"https://api.github.com/repos/Kagami/ffmpeg.js/issues/44/events","html_url":"https://github.com/Kagami/ffmpeg.js/issues/44","id":279614558,"number":44,"title":"Fails to compile / Dockerfile","user":{"login":"jcaesar","id":1753388,"avatar_url":"https://avatars3.githubusercontent.com/u/1753388?v=4","gravatar_id":"","url":"https://api.github.com/users/jcaesar","html_url":"https://github.com/jcaesar","followers_url":"https://api.github.com/users/jcaesar/followers","following_url":"https://api.github.com/users/jcaesar/following{/other_user}","gists_url":"https://api.github.com/users/jcaesar/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaesar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaesar/subscriptions","organizations_url":"https://api.github.com/users/jcaesar/orgs","repos_url":"https://api.github.com/users/jcaesar/repos","events_url":"https://api.github.com/users/jcaesar/events{/privacy}","received_events_url":"https://api.github.com/users/jcaesar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-06T03:32:47Z","updated_at":"2018-05-26T09:12:33Z","closed_at":null,"author_association":"NONE","body":"Since you already suggested using docker in the readme, I translated those instructions into a dockerfile.\r\n\r\n```\r\nFROM ubuntu:17.10\r\n\r\nRUN apt-get update && apt-get -y install wget python git automake libtool build-essential cmake libglib2.0-dev closure-compiler git\r\n\r\nRUN useradd -c 'Usa' -m -d /home/u -s /bin/bash u\r\nUSER u\r\nWORKDIR /home/u\r\n\r\nRUN wget https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz\r\nRUN tar xzvf emsdk-portable.tar.gz\r\nWORKDIR /home/u/emsdk-portable\r\nRUN ./emsdk update\r\nRUN ./emsdk install latest\r\nRUN ./emsdk activate latest\r\n\r\nWORKDIR /home/u\r\nRUN git clone https://github.com/Kagami/ffmpeg.js.git\r\nWORKDIR /home/u/ffmpeg.js\r\nRUN git submodule init && git submodule update --recursive # sobmodules!\r\n\r\nRUN bash -c '. ../emsdk-portable/emsdk_env.sh && make all'\r\n\r\n```\r\nI hope this can be useful to someone."},"comment":{"url":"https://api.github.com/repos/Kagami/ffmpeg.js/issues/comments/392248729","html_url":"https://github.com/Kagami/ffmpeg.js/issues/44#issuecomment-392248729","issue_url":"https://api.github.com/repos/Kagami/ffmpeg.js/issues/44","id":392248729,"user":{"login":"swznd","id":766961,"avatar_url":"https://avatars1.githubusercontent.com/u/766961?v=4","gravatar_id":"","url":"https://api.github.com/users/swznd","html_url":"https://github.com/swznd","followers_url":"https://api.github.com/users/swznd/followers","following_url":"https://api.github.com/users/swznd/following{/other_user}","gists_url":"https://api.github.com/users/swznd/gists{/gist_id}","starred_url":"https://api.github.com/users/swznd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swznd/subscriptions","organizations_url":"https://api.github.com/users/swznd/orgs","repos_url":"https://api.github.com/users/swznd/repos","events_url":"https://api.github.com/users/swznd/events{/privacy}","received_events_url":"https://api.github.com/users/swznd/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T09:12:32Z","updated_at":"2018-05-26T09:12:32Z","author_association":"NONE","body":"@mwijnants since version 1.38 emscripten using WASM by default, and it seems pre and post script not compatible for WASM\r\n\r\ntry using version 1.37\r\n\r\n```\r\n./emsdk install emscripten-1.37.40 \r\n./emsdk activate emscripten-1.37.40 \r\nsource ./emsdk_env.sh\r\n```"}}
{"actor":{"display_login":"swznd"}}