Azure-Samples / Azure-Samples/digital-twins-explorer

Dockerfile build issue due to incorrect python version

Open
#317 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
215
Forks
127
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.