Skip to content

When I execute “docker image build -t spot_rna2 .”,there have an error "ERROR: failed to solve: process "/bin/sh -c cpanm Graph" did not complete successfully: exit code: 1" #7

Description

@LiFengxia8

=> ERROR [ 4/13] RUN cpanm Graph 26.2s

[ 4/13] RUN cpanm Graph:
#0 14.35 --> Working on Graph
#0 14.35 Fetching http://www.cpan.org/authors/id/E/ET/ETJ/Graph-0.9726.tar.gz ... OK
#0 26.23
#0 26.23 gzip: stdin: unexpected end of file
#0 26.23 /bin/tar: Child returned status 1
#0 26.23 /bin/tar: Error is not recoverable: exiting now
#0 26.23 ! Failed to unpack Graph-0.9726.tar.gz: no directory
#0 26.23 ! Failed to fetch distribution Graph-0.9726


Dockerfile:6

4 | RUN rm /bin/sh && ln -s /bin/bash /bin/sh
5 | RUN apt-get update && apt-get install -y build-essential wget virtualenv git python-minimal cpanminus gawk
6 | >>> RUN cpanm Graph
7 |
8 | RUN wget 'https://www.dropbox.com/s/h6j53u7wjyj6uir/SPOT-RNA2.tar.xz' || wget 'https://app.nihaocloud.com/f/3e826caf8efc43adaaa0/?dl=1' && tar -xvf SPOT-RNA2.tar.xz && rm SPOT-RNA2.tar.xz

ERROR: failed to solve: process "/bin/sh -c cpanm Graph" did not complete successfully: exit code: 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions