You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possibly incorrect assumption that most people want virtualenv #115
I don't need virtualenv as I'm using Docker to run a single service where docker already provides isolation of dependencies. I think most people won't actually need virtualenv but instead will use pip to install packages globally.
My suggestion is to remove the line to install virtualenv and reduce the image to be clean and unbiased.
While I generally agree with you, this will break backwards comparability for those relying on virtualenv already being installed in the official Python image. This is a fundamental problem with the way Docker Images are tagged / versioned.
So it seems that the "include everything" approach for the default versions of python 2 does include virtualenv since python 3 includes venv and those who want more control over what is included should be using the smaller images like slim and alpine.
Activity
Remove default installation of virtualenv
Starefossen commentedon Jun 13, 2016
While I generally agree with you, this will break backwards comparability for those relying on
virtualenvalready being installed in the official Python image. This is a fundamental problem with the way Docker Images are tagged / versioned.tianon commentedon Jun 13, 2016
Do the
slimand/oralpinevariants of the image also installvirtualenv, or do they appropriately abstain?ushuz commentedon Jun 30, 2016
@tianon
slimalpinevariants won't installvirtualenv.yosifkit commentedon Jun 30, 2016
So it seems that the "include everything" approach for the default versions of python 2 does include
virtualenvsince python 3 includesvenvand those who want more control over what is included should be using the smaller images likeslimandalpine.