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

Dockerfile modif request #21

Closed
mohanramanujam opened this issue Jun 18, 2016 · 2 comments
Closed

Dockerfile modif request #21

mohanramanujam opened this issue Jun 18, 2016 · 2 comments

Comments

@mohanramanujam
Copy link

Upon installing python related modules you do a cleanup during which you also remove python-pip. It would helpful to not remove this in order to use ansible pip module. Particularly when developing and testing python stacks this is nice to have. It would also be nice to have virtualenv module installed

@William-Yeh
Copy link
Owner

William-Yeh commented Jun 20, 2016

When you work with normal OS machines (physical, virtual, or cloud instances), surely you'll do these steps on your Ansible playbooks (such as installing pip or virtualenv).

Back to the Docker world.

When I first made these Docker images, I had a goal to mimic original OS base images as close as possible, so that if my Ansible playbooks lacked any necessary steps (such as installing pip or virtualenv), my Docker images would alert on these defects.

As the number of users grows, the requests for convenient images to work with also grow (e.g., #14 and #18 ). I'd like to put a carefully-selected subset of such kinds of requests into the normal variant, which is intended to act as control machine.

@mohanramanujam
Copy link
Author

As with #14, I have to derive from our image to add back functionality like pip which you was needed for install of py libraries and which was eventually removed. I could also do the same i.e. install pip and then remove it once i am done with it or leave it there. If hat is what you are suggesting I will do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants