0

I tried to build the Docker image using the command "docker build --no-cache -t cytools .", but got the following error:

=> ERROR [27/30] RUN tar zxvf palp-2.20.tar.gz; rm palp-2.20.tar.gz; mv   0.4s
------
 > [27/30] RUN tar zxvf palp-2.20.tar.gz; rm palp-2.20.tar.gz; mv palp-2.20 palp:
#31 0.349 
#31 0.349 gzip: stdin: not in gzip format
#31 0.350 tar: Child returned status 1
#31 0.350 tar: Error is not recoverable: exiting now
#31 0.358 mv: cannot stat 'palp-2.20': No such file or directory
------
executor failed running [/bin/sh -c tar zxvf palp-2.20.tar.gz; rm palp-2.20.tar.gz; mv palp-2.20 palp]: exit code: 1

Can anyone tell if this is an issue with my system, or Docker, or the software?

2
  • 2
    The error comes from the tar command, the file is not a gzip despite its extension, so either it was incorrectly downloaded or it's badly named. – Tensibai Apr 14 at 19:54
  • 1
    I think you can try to run every single command to catch the error instead of mult commands tar zxvf palp-2.20.tar.gz; rm palp-2.20.tar.gz; mv palp-2.20 palp – Chau Giang Apr 16 at 2:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.