python icon indicating copy to clipboard operation
python copied to clipboard

python nanoserver image?

Open StefanScherer opened this issue 9 years ago • 4 comments

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

StefanScherer avatar Jan 07 '17 00:01 StefanScherer

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?)

tianon avatar Jan 09 '17 19:01 tianon

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

LBates2000 avatar Jan 11 '17 05:01 LBates2000

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

StefanScherer avatar Jan 11 '17 06:01 StefanScherer

This appears to be working:

  • article: https://blog.devgenius.io/creating-python-docker-image-for-windows-nano-server-151e1ab7188a
  • repo: https://github.com/rkttu/python-nanoserver

mikedld avatar Nov 26 '21 07:11 mikedld