Docker Image 3.7: Outdated package lists
I observed a problem with installing additional tesseract-languagepacks with docker version '3.7'and earlier: The command "-e MAYAN_APT_INSTALLS='tesseract-ocr-deu" fails on boot, cause of outdated Package list. I also checked in Bash with "sudo apt-get install tesseract-ocr-deu" failed with "unable to locate tesseract-ocr-deu".
My workaround: After entering "sudo apt-get update" in Bash after bootup, the manual install over bash with "sudo apt-get install tesseract-ocr-deu" works fine.
My wish: is there a possibility to run "sudo apt-get update" after Container bootup?