niomstaffing.blogg.se

Update python debian
Update python debian













update python debian

Īnd then logged into a container and was able to find tesseract like % docker run -it stackoverflow:test find / -type d -name "*tess*" I created a docker image with this truncated Dockerfile # debian basedĪnd then built the docker image like docker build -tag stackoverflow:test. #18 4.447 Selecting previously unselected package tesseract-ocr. Here's a snippet of the logs towards the end of the build process for RUN apt-get install tesseract-ocr -y #18 4.079 Preparing to unpack. How can I make it work so that it is installed correctly during the build phase?

update python debian

And then if I run find / -type d -name "*tesseract*" again, I can see that now tesseract was installed find / -type d -name "*tess*" If I then run apt install tesseract-ocr inside the container terminal, I can see the files are installed. If I run apt-cache search tesseract-ocr I can see it is available in the list.

update python debian

Then I run the container with docker compose up and go into the container with docker exec -t -i my_container_name /bin/bash and finally try find / -type d -name "*tesseract*" which yields no results. RUN pip install -no-cache-dir -r requirements.txt # tesseract part, tried both apt & apt-get Relevant parts of my Dockerfile looks like this # debian based If I then open up the container and install it from within the container it works. During the build process it looks like installation goes fine, but then I cannot find the files inside the container. I'm trying to install tesseract-ocr in a Docker container based on the python:3.10 image.















Update python debian