Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF: Prune docker image even more #5

Open
pavlov99 opened this issue May 13, 2018 · 0 comments
Open

REF: Prune docker image even more #5

pavlov99 opened this issue May 13, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@pavlov99
Copy link
Contributor

pavlov99 commented May 13, 2018

At the moment this image is ~4x smaller than alternative superset images. It uses following:

  • All of the RUN commands are in one layer + after it removes development (required for build) packages
  • Python 3.6 & Alpine Linux 3.7 based image (already ~90mb)

About half of the image size is taken by numpy and pandas .so libraries. Reseach ways to remove extra from the image, e.g.

  • fabmanager or flask-appbuilder css/javascript files (~5mb)
  • superset examples: superset load_examples (~25mb)
  • /usr/local/lib/python3.6/site-packages/babel/locale-data (~20mb)
@pavlov99 pavlov99 added the enhancement New feature or request label May 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant