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

Reduce docker image size with Alpine Linux #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikoim
Copy link

@mikoim mikoim commented Feb 20, 2017

Python containers use debian based image. It's too large image for container. So I changed base image from python:2.7 to alpine:3.5. It can succeed reducing the image size and speeding up to pull image.

ex

ek@xxx ~/slack-cleaner> sudo docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
slack-cleaner       alpine              9beb62557257        13 seconds ago      55.3 MB

@mikoim mikoim force-pushed the feature/reduce-docker branch from 0e37795 to 6cd6af9 Compare February 20, 2017 22:15
@AymanElarian
Copy link

i just wonder why they never accept this great pull request !

@RyRo7
Copy link

RyRo7 commented Jul 31, 2017

massive improvement

sgratzl added a commit to sgratzl/slack-cleaner that referenced this pull request Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants