Use STDIN during docker build from a Dockerfile -


i'm trying install miniconda in docker image first step, right have:

    ubuntu:14.04 run apt-get update && apt-get install wget run wget *miniconda download url* && bash file_downloaded.sh 

when try build image, goes until starts popping following message continously: >>> please answer 'yes' or 'no' @ point need stop docker build. how can fix it? should include in dockerfile?

i believe can pass -b flag miniconda shell script avoid manual answering

installs miniconda3 4.0.5      -b           run install in batch mode (without manual intervention),                  expected license terms agreed upon     -f           no error if install prefix exists     -h           print message , exit     -p prefix    install prefix, defaults $prefix 

something that:

run wget http://......-x86_64.sh -o miniconda.sh run chmod +x miniconda.sh \     && bash ./miniconda.sh -b 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -