docker-library / python

Docker Official Image packaging for Python
https://www.python.org/
MIT License
2.54k stars 1.06k forks source link

python nanoserver image? #169

Open StefanScherer opened 7 years ago

StefanScherer commented 7 years ago

After golang has official images based on nanoserver, I'm looking for a python image based on microsoft/nanoserver.

I've done some first investigations in https://github.com/StefanScherer/dockerfiles-windows/pull/61, but pip does not work yet as shown in https://ci.appveyor.com/project/StefanScherer/dockerfiles-windows/build/1.0.135

tianon commented 7 years ago

Nice initial work! :smile: :+1:

My Python-fu isn't as great as it ought to be, but that error in pip looks like more of a Python error than a pip error, right? (ie, potentially other Python applications would have the same failure?)

LBates2000 commented 7 years ago

I took a slightly different approach that uses a 'side-loaded' full install instead of downloading and installing the embedded version. This install supports pip:

https://github.com/LBates2000/python-nanoserver-container

StefanScherer commented 7 years ago

@LBates2000 Thanks you. So it proves that only some files are missing. I thought about registry keys as Python looks there, too.

mikedld commented 2 years ago

This appears to be working: