Conversation
|
@paketb0te I'm inclined to leave it as is right now since it seems to be working (haven't had users report any issues with the docker install in a while). Can you let me know the benefits of changing the current setup, including:
Thx! |
|
@paketb0te Oh one other thing - if we are considering changing to specific Python version base image, why not use a 3.11 image to take advantage of the performance updates? |
No difference, I just prefer using a specific version that will not change as much - using the tag
Yes, the image has python installed already (kinda obvious, it's a python image after all :D ). From my testing, the -dev version is not needed, and it helps to avoid having a duplicate python installation in the image.
I think it makes more sense to build the image from source, instead of installing from pypi - we can a) build in parallel, if at some point we decide to publish the image to dockerhub (or any other registry), and b) it makes testing locally with docker possible when developing, (since we get the current source code in the container, not whatever is the latest version on pypi). Agreed, these are all rather small reasons and I have no problems leaving things as-is, just thought it might be an easy, small improvement :) |
I saw that the Dockerfile installs git-sim from pip (
RUN pip3 install git-sim), I think it makes more sense to copy the code and install it directly - hence this PR :)While at it, I also removed some packages that are not required (
python3-dev, and setting--no-install-recommends).The syntax for calling git-sim in Docker does not change (-> no changes to README.md).