I’ve been searching for some time now but with no luck so hoping someone can help me
I’m currently trying to install opencv in a new Docker image I’m creating pasted below.
The issue I’m running into is when you install opencv it requires 3 choices, for you to confirm you want to install it (y or n), your region (1-9) and your city (1-x). What I don’t understand is when I built the below container it gets past the initial confirmation and asks me to choose my region. After I select it, the build process just seems to stop.
Is there a way to pass multiple arguments such as
-y -8 -27 | apt-get install python-opencv , what’s the best place to read up on this as it’s not clear to someone who is new to Docker?
Thanks in advance!
FROM ubuntu:18.04 RUN apt-get update && \ apt-get -y install curl && \ apt-get -y install python3 && \ apt-get -y install python3-pip && \ python3 -m pip install --upgrade pip && \ pip3 install numpy && \ pip3 install matplotlib && \ pip3 install pandas && \ pip3 install seaborn && \ pip3 install tensorflow && \ pip3 install keras && \ python3 -m pip install jupyter && \ apt-get -y install python-opencv