重复“检查bsd兼容的安装…”步骤运行./configure在docker容器与debian jessie
在debian中运行./configure脚本时遇到问题:jesse docker容器。 当我在一个Ubuntu实例上交互式地运行它时,这个脚本就起作用了。 但是,当我作为docker构build脚本的一部分运行它,我只是得到以下内容
checking for a BSD-compatible install... checking for a BSD-compatible install... checking for a BSD-compatible install... checking for a BSD-compatible install... checking for a BSD-compatible install...
无休止地重复,直到容器用尽空间。 你知道这可能是什么原因吗?
这是docker文件
FROM debian:jessie MAINTAINER Michael Barton, mail@... RUN apt-get update -y RUN apt-get install -y wget RUN wget --quiet http://hku-idba.googlecode.com/files/idba-1.1.1.tar.gz -O /tmp/idba-1.1.1.tar.gz RUN apt-get install -y gcc build-essential make sed autoconf ADD install /usr/local/bin/ RUN /usr/local/bin/install ADD run /usr/local/bin/ ENTRYPOINT ["/usr/local/bin/run"]
这是安装脚本
#!/bin/bash set -o nounset VERSION='1.1.1' DIR="idba-${VERSION}" TMP=$(mktemp -d) cd ${TMP} tar xzf "/tmp/${DIR}.tar.gz" cd ${DIR} # Required to allow for longer read lengths sed --in-place 's/kMaxShortSequence = 128;/kMaxShortSequence = 1024;/' src/sequence/short_sequence.h ./configure make mv bin /usr/local/idba