docker-curriculum
docker-curriculum copied to clipboard
Issue with install markupsafe
Hi I had issue with build docker image in section Multi Container, below is error. Issue was fixed when I changed in Dockerfile ubuntu version from 18 to 20.
/#14 7.919 Collecting MarkupSafe>=2.0 (from Jinja2>=2.10.1->Flask==1.1.2->-r requirements.txt (line 2))
#14 8.334 Downloading https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e/MarkupSafe-2.0.1.tar.gz
#14 8.514 Complete output from command python setup.py egg_info:
#14 8.514 Traceback (most recent call last):
#14 8.514 File "
#14 8.514 ----------------------------------------
#14 8.526 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ucchxhu8/MarkupSafe/
/
Found a solution from a closed issue https://github.com/prakhar1989/docker-curriculum/issues/352
open FoodTrucks/Dockerfile insert RUN apt-get install -y python3-markupsafe before RUN npm install It was posted previously by Halpert3. thx.
just encountered same issue and doing what @NicolasCwy suggested fixed it