docker build导致上下文取消

时间:2019-04-29 22:01:11

标签: docker dockerfile

我发现here以下Dockerfile:

FROM appcontainers/mysql:debian
MAINTAINER Jason C. Kwan "jason.kwan@wisc.edu"

RUN apt-get update
RUN apt-get install -y wget cpanminus build-essential libmysqlclient-dev python
RUN wget http://www.micans.org/mcl/src/mcl-latest.tar.gz
RUN tar xvf mcl-latest.tar.gz
RUN cd mcl-* && ./configure && make && make install
RUN wget http://orthomcl.org/common/downloads/software/v2.0/orthomclSoftware-v2.0.9.tar.gz
RUN tar xvf orthomclSoftware-v2.0.9.tar.gz
RUN cpanm DBI DBD::mysql
RUN mkdir diamond && cd diamond && wget http://github.com/bbuchfink/diamond/releases/download/v0.9.14/diamond-linux64.tar.gz && tar xvf diamond-linux64.tar.gz
RUN rm *.tar.gz

COPY my.cnf /etc/mysql/
COPY run_orthomcl.py /bin/
ENV PATH="/diamond:/orthomclSoftware-v2.0.9/bin:${PATH}"

使用以下命令无法构建容器:

$ docker build -t orthomcl_docker . 
Sending build context to Docker daemon  95.23kB
Step 1/15 : FROM appcontainers/mysql:debian
debian: Pulling from appcontainers/mysql
e80d11fe101a: Pulling fs layer 
125a38e742bc: Pulling fs layer 
8900111cfb5b: Pulling fs layer 
8d736c21b481: Waiting 
3d0796a1857b: Waiting 
158bbfe64bb1: Waiting 
3e3a4a0e9680: Waiting 
ed389ac8eaad: Waiting 
8c74473c64df: Waiting 
context canceled

我想念什么?

先谢谢您

0 个答案:

没有答案