Azure-Samples / digital-twins-explorer

A code sample for visualizing Azure Digital Twins graphs as a web application to create, edit, view, and diagnose digital twins, models, and relationships.
MIT License
191 stars 118 forks source link

Dockerfile build issue due to incorrect python version #317

Open davidarputharaj19 opened 4 months ago

davidarputharaj19 commented 4 months ago

Getting below issue while building dockerfile due to no python version mentioned.

Already raised Pull Request(https://github.com/Azure-Samples/digital-twins-explorer/pull/316) for the fix. Please approve the same.

ERROR [ 3/14] RUN apt-get -y install curl python make g++ 2.0s

[ 3/14] RUN apt-get -y install curl python make g++: 0.747 Reading package lists... 1.642 Building dependency tree... 1.930 Reading state information... 1.940 Package python is not available, but is referred to by another package. 1.940 This may mean that the package is missing, has been obsoleted, or 1.940 is only available from another source 1.940 However the following packages replace it: 1.940 python-is-python3 2to3 1.940 1.942 E: Package 'python' has no installation candidate Dockerfile:5 3 | # Install required dependencies 4 | RUN apt-get update 5 | >>> RUN apt-get -y install curl python make g++ 6 | 7 | # Install the Azure CLI, which will be required for authentication