popscle
popscle copied to clipboard
Update Docker building to work with ubuntu:22.04
The current docker file lists as base image the latest version of Ubuntu. However this does not work during compilation resulting in errors related with automated stdlib imports missing. Fixing the ubuntu version to 20.04 works.
The current docker file lists as base image the latest version of Ubuntu. However this does not work during compilation resulting in errors related with automated stdlib imports missing. Fixing the ubuntu version to 20.04 works.
Thanks, I couldn't figure out why the build was crashing.
It get error when build the docker => ERROR [ 5/10] RUN cd htslib && git submodule update --init --recursive && autoheader && autoco 2.4s
[ 5/10] RUN cd htslib && git submodule update --init --recursive && autoheader && autoconf && ./configure --prefix=/usr/local/ && make && make install:
0.184 Submodule 'htscodecs' (https://github.com/samtools/htscodecs.git) registered for path 'htscodecs'
0.189 Cloning into '/htslib/htscodecs'... 1.553 Submodule path 'htscodecs': checked out 'ffda7310c4b3292955561d6c3b1743cb82bfe26b' 2.301 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 in American area centos7.9