Problems to generate Docker Container for Python version
Opened this issue · 3 comments
simberg-aws commented
Hi,
I found a problem to install Python-pip.
Problem:
Step 5/14 : RUN apt-get install -y python-pip python-dev build-essential
---> Running in 95de0214863b
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python-pip
Fix:
I fixed the problem changing the Dockerfile:
FROM ubuntu:latest
to
FROM ubuntu:18.04
Look like the latest version of ubuntu is missing some configuration or extra step.
patrik93 commented
Same worked for me.
mrJTY commented
I can confirm this was an issue that can be resolved by pinning the Docker tag to 18.04.
Niemetz commented
Great finding! Thanks. J.N