popscle
popscle copied to clipboard
Can not build the docker images using Dockerfile
when build the dockerfile, it get error lying below: [root@iZ0xi7sue1xrh5f0xxhrdiZ popscle-master]# docker build . [+] Building 2.3s (9/14) docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.18kB 0.0s => [internal] load metadata for docker.io/library/ubuntu:latest 0.2s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [ 1/10] FROM docker.io/library/ubuntu:latest@sha256:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f4 0.0s => [internal] load build context 0.0s => => transferring context: 34B 0.0s => CACHED [ 2/10] RUN apt-get clean all && apt-get update && apt-get upgrade -y && apt-get instal 0.0s => CACHED [ 3/10] RUN apt-get clean && rm -rf /var/lib/apt/lists/* 0.0s => CACHED [ 4/10] RUN git clone https://github.com/samtools/htslib.git 0.0s => ERROR [ 5/10] RUN cd htslib && git submodule update --init --recursive && autoheader && autoco 2.1s
[ 5/10] RUN cd htslib && git submodule update --init --recursive && autoheader && autoconf && ./configure --prefix=/usr/local/ && make && make install:
0.166 Submodule 'htscodecs' (https://github.com/samtools/htscodecs.git) registered for path 'htscodecs'
0.171 Cloning into '/htslib/htscodecs'... 1.253 Submodule path 'htscodecs': checked out 'ffda7310c4b3292955561d6c3b1743cb82bfe26b' 1.980 configure: error: cannot find required auxiliary files: config.guess config.sub
Dockerfile:27
26 | RUN git clone https://github.com/samtools/htslib.git
27 | >>> RUN cd htslib &&
28 | >>> git submodule update --init --recursive &&
29 | >>> autoheader &&
30 | >>> autoconf &&
31 | >>> ./configure --prefix=/usr/local/ &&
32 | >>> make &&
33 | >>> make install
34 |
ERROR: failed to solve: process "/bin/sh -c cd htslib && git submodule update --init --recursive && autoheader && autoconf && ./configure --prefix=/usr/local/ && make && make install" did not complete successfully: exit code: 1
how to fix this error? my centos7.9 in America Best, hanhuihong