我无法在Docker中安装pip.
这是我的Dockerfile:
FROM ubuntu:14.04
# Install dependencies
RUN apt-get update -y
RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5 php5-mcrypt php5-mysql python3.4 python-pip
Run Code Online (Sandbox Code Playgroud)
建设时,我得到:
Sending build context to Docker daemon 109.6 kB
Step 1 : FROM ubuntu:14.04
---> b549a9959a66
Step 2 : RUN apt-get update -y
---> Using cache
---> 84577471562c
Step 3 : RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5 php5-mcrypt php5-mysql python3.4 python-pip
---> Running in 49252a6d0eb1
Reading package lists...
Building dependency tree...
Reading state …Run Code Online (Sandbox Code Playgroud)