Par*_*mal 5 apt-get maven docker
我安装了ubuntu 14.04虚拟机并运行docker(1.11.2).我尝试建立样本图像(这里).
泊坞文件:
FROM java:8
# Install maven
RUN apt-get update
RUN apt-get install -y maven
....
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Step 3: RUN apt-get update
--> Using cache
--->64345sdd332
Step 4: RUN apt-get install -y maven
---> Running in a6c1d5d54b7a
Reading package lists...
Reading dependency tree...
Reading state information...
E: Unable to locate package maven
INFO[0029] The command [/bin/sh -c apt-get install -y maven] returned a non-zero code:100
Run Code Online (Sandbox Code Playgroud)
我试过以下解决方案,但没有成功.
如何查看详细的错误消息?有什么方法可以解决这个问题吗?