popscle icon indicating copy to clipboard operation
popscle copied to clipboard

Update Docker building to work with ubuntu:22.04

Open ddemaeyer opened this issue 2 years ago • 2 comments

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.

ddemaeyer avatar Nov 14 '22 12:11 ddemaeyer

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.

diazdc avatar Jan 26 '24 16:01 diazdc

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

honghh2018 avatar Mar 28 '24 03:03 honghh2018