I am following the instructions by mumshad GitHub - mmumshad/simple-webapp-flask: Simple Flask based web application But this does not work
[3/5] RUN apt-get install -y python python-pip:
0.665 Reading package lists…
1.369 Building dependency tree…
1.525 Reading state information…
1.534 Package python is not available, but is referred to by another package.
1.534 This may mean that the package is missing, has been obsoleted, or
1.534 is only available from another source
1.534 However the following packages replace it:
1.534 2to3 python2-minimal python2 dh-python python-is-python3
1.534
1.536 E: Package ‘python’ has no installation candidate
Dockerfile:4
2 |
3 | RUN apt-get update
4 | >>> RUN apt-get install -y python python-pip
5 | RUN pip install flask
6 |
---|
ERROR: failed to solve: process “/bin/sh -c apt-get install -y python python-pip” did not complete successfully: exit code: 100 |
How to fix these errors ?