{"action":"closed","issue":{"url":"https://api.github.com/repos/bitrise-docker/android/issues/50","repository_url":"https://api.github.com/repos/bitrise-docker/android","labels_url":"https://api.github.com/repos/bitrise-docker/android/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/bitrise-docker/android/issues/50/comments","events_url":"https://api.github.com/repos/bitrise-docker/android/issues/50/events","html_url":"https://github.com/bitrise-docker/android/issues/50","id":196451576,"number":50,"title":"Possible docker LFS / Dockerfile improvements","user":{"login":"bartimar","id":16442967,"avatar_url":"https://avatars.githubusercontent.com/u/16442967?v=3","gravatar_id":"","url":"https://api.github.com/users/bartimar","html_url":"https://github.com/bartimar","followers_url":"https://api.github.com/users/bartimar/followers","following_url":"https://api.github.com/users/bartimar/following{/other_user}","gists_url":"https://api.github.com/users/bartimar/gists{/gist_id}","starred_url":"https://api.github.com/users/bartimar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartimar/subscriptions","organizations_url":"https://api.github.com/users/bartimar/orgs","repos_url":"https://api.github.com/users/bartimar/repos","events_url":"https://api.github.com/users/bartimar/events{/privacy}","received_events_url":"https://api.github.com/users/bartimar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-19T16:06:54Z","updated_at":"2016-12-24T12:50:12Z","closed_at":"2016-12-24T12:50:12Z","body":"There is too many layers of the filesystem. Building the image itself takes ages. And it takes too much storage!\r\n\r\nThis command: \r\n```\r\n# Cleaning\r\nRUN apt-get clean\r\n```\r\nwill only INCREASE the image size and INCREASE the build duration!!! Don't do this!\r\n\r\nLook at this please: https://github.com/AckeeCZ/jenkins-android-docker-slave/blob/master/Dockerfile\r\n```\r\nRUN dpkg --add-architecture i386 && \\\r\n    apt-get update && \\ \r\n    DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-8-jdk libc6:i386 libstdc++6:i386 libgcc1:i386 libncurses5:i386 libz1:i386 && \\\r\n    rm -rf /var/lib/apt/lists/*\r\n```\r\nWhen I have some time, I could do a MR if you are interested. "}}
{"actor":{"display_login":"viktorbenei"}}