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
For my Docker infrastructure, I threw together a couple of Docker images that will make it way easier to develop, test, and distribute code that leverages pythonnet. I think this would benefit most people in a Docker-based CI environment (ex. Gitlab), but I expect this will help others as well.
If you're interested in combining efforts on this, let me know!
@denfromufa "extend" and "embed" are ambiguous terms in my scattered brain. I believe that what I've produced is "embedded", since I already installed pythonnet 2.1.0 within the container. Any future pip install pythonnet==2.1.0 and the requirement will be already satisfied.
As for "extend", I'm not sure what you are looking for. Can you elaborate?
I'm no longer working at the company where I was using pythonnet, so I probably won't be maintaining my Dockerfile variant in the future. Please feel free to fork/extend/take-over from https://github.com/benley/docker-wine-python-dotnet if it's of any use to you!
Yup, I noticed them while browsing 👍. Forewarning, I have limited docker knowledge so bare with me.
What do we need to combine efforts (not sure what you meant by this)?
I think you meant in relation to #240 to combine efforts, or was it to include a sample copy of the docker recipes?
@vmuriart I'm suggesting that pythonnet make an official group on Docker Hub and updates various Docker images that have environments all configured and ready to go.
Using Docker has saved me a ton of time in configuring environments, and no matter how hard your team works to make the bridge of Python to .NET easy to install and manage, Docker will always be easier.
I can help if you'd like me to. I'm pretty much already doing it, and it's not a lot of effort to share.
@vmuriart yes, I created pythonnet, but in order to convert it to organization, I had to create username denfromufa and link it during this step in the screenshot above. For some reason docker cloud thinks that denfromufa is not a valid Docker ID. Anyway use either pythonnet or pythondotnet for now. You are in both accounts. I will try to convert pythonnet to organization tomorrow.
Looking back I should have created denfromufa and then pythonnet organization from within it.
Activity
den-run-ai commentedon Jan 10, 2017
related:
#240
#303
cc @benley @AlexCatarino @jaredbroad
den-run-ai commentedon Jan 10, 2017
@cowboygneox are you able to both extend and embed pythonnet using these docker images?
cowboygneox commentedon Jan 10, 2017
@denfromufa "extend" and "embed" are ambiguous terms in my scattered brain. I believe that what I've produced is "embedded", since I already installed pythonnet 2.1.0 within the container. Any future
pip install pythonnet==2.1.0and the requirement will be already satisfied.As for "extend", I'm not sure what you are looking for. Can you elaborate?
benley commentedon Jan 10, 2017
I'm no longer working at the company where I was using pythonnet, so I probably won't be maintaining my Dockerfile variant in the future. Please feel free to fork/extend/take-over from https://github.com/benley/docker-wine-python-dotnet if it's of any use to you!
den-run-ai commentedon Jan 10, 2017
embedding and extending are terms used in CPython C-API:
https://docs.python.org/3/extending/
cowboygneox commentedon Jan 10, 2017
@denfromufa It is my understanding that Docker does not prevent either. If you can do it with Python's Docker image, then mine is no different.
cowboygneox commentedon Jan 12, 2017
@denfromufa I don't want this to fallout of short-term view. Are you interested in converging this effort somehow?
den-run-ai commentedon Jan 22, 2017
@cowboygneox I'm interested in converging the effort, but after v2.2.0 release.
cowboygneox commentedon Jan 23, 2017
@denfromufa Ping me when ready.
vmuriart commentedon Feb 24, 2017
@cowboygneox your latest recipe doesn't need to include the
pythonnetsource code anymore right?cowboygneox commentedon Feb 25, 2017
@vmuriart Correct. I just uploaded the latest today to use Mono 4.8 and pythonnet 2.2.2. https://hub.docker.com/r/cowboygneox/pythonnet/
vmuriart commentedon Feb 25, 2017
Yup, I noticed them while browsing 👍. Forewarning, I have limited
dockerknowledge so bare with me.What do we need to combine efforts (not sure what you meant by this)?
I think you meant in relation to #240 to combine efforts, or was it to include a sample copy of the docker recipes?
cowboygneox commentedon Feb 26, 2017
@vmuriart I'm suggesting that pythonnet make an official group on Docker Hub and updates various Docker images that have environments all configured and ready to go.
Using Docker has saved me a ton of time in configuring environments, and no matter how hard your team works to make the bridge of Python to .NET easy to install and manage, Docker will always be easier.
I can help if you'd like me to. I'm pretty much already doing it, and it's not a lot of effort to share.
2 remaining items
vmuriart commentedon Feb 26, 2017
isn't the account name you created
pythonnet? looks like you are putting your own username.den-run-ai commentedon Feb 26, 2017
@vmuriart yes, I created pythonnet, but in order to convert it to organization, I had to create username denfromufa and link it during this step in the screenshot above. For some reason docker cloud thinks that denfromufa is not a valid Docker ID. Anyway use either pythonnet or pythondotnet for now. You are in both accounts. I will try to convert pythonnet to organization tomorrow.
Looking back I should have created denfromufa and then pythonnet organization from within it.
cowboygneox commentedon Feb 27, 2017
@denfromufa Let me know if you get a pythonnet org. I'll get started on the images to send a PR for.
den-run-ai commentedon Feb 27, 2017
@cowboygneox @vmuriart here is the issue I posted on docker forum:
https://forums.docker.com/t/cannot-convert-docker-cloud-account-pythonnet-to-organization/28975
only commercial users can contact support directly.
cowboygneox commentedon Feb 27, 2017
Made a pull request and pushed some images to Docker: pythonnet/pythonnet-docker#1
vmuriart commentedon Feb 27, 2017
fixed the group
pythonnetand made it an organization. We can use it now instead ofpythondotnetden-run-ai commentedon Feb 27, 2017
Can you add all of us to the team?
den-run-ai commentedon Feb 27, 2017
vmuriart commentedon Feb 27, 2017
yup account its all setup. only thing left is to figure out why its using my
gravatarden-run-ai commentedon Mar 1, 2017
ok after many hiccups my docker installation is working on windows 10!
vmuriart commentedon Mar 3, 2017
@cowboygneox thanks for including the shell script to build and deploy. Images are now on https://hub.docker.com/r/pythonnet/pythonnet/tags/
I deleted the images from
pythondotnetto avoid confusion, but I can't figure out how to delete that organization.den-run-ai commentedon Mar 6, 2017
I updated installation options:
https://github.com/pythonnet/pythonnet/wiki/Installation
vkhombal commentedon May 4, 2018
Hello all,
What are the current docker instructions?
den-run-ai commentedon Jun 12, 2018
@vkhombal there are some docker images as of last year (see wiki), but we are experiencing some permission issues with latest docker builds in 2018:
pythonnet/pythonnet-docker#5