docker build要求输入键盘语言

时间:2020-05-25 02:27:30

标签: docker build keyboard prompt

我是Docker新手,我已采用将(https://hub.docker.com/r/ct2034/vnc-ros-kinetic-full/)的Dockerfile扩展到底部的几行 (就在# setup entrypoint \n COPY ./ros_entrypoint.sh之前) :

#install Mystuff
RUN sudo apt-get update && sudo apt-get install -y --allow-unauthenticated --no-install-recommends \
    xserver-xorg-legacy \
    xserver-xorg-core \
    xserver-xorg-input-all \
    xserver-xorg-video-fbdev \
    xserver-xorg-input-evdev \
    xorg \
    xinput \
    x11-apps \
    matchbox-window-manager \
    libssl-dev \
    network-manager \
    python-dev \
    python-kde4 \
    python-qt4 \
    qt4-qtconfig \
    python-ftdi1 \
    zlib1g-dev \
    xserver-xephyr \
    tmux \
    vim \
    && rm -rf /var/lib/apt/lists/*

#Python
RUN pip install --upgrade setuptools
RUN pip install requests 'AWSIoTPythonSDK==1.4.7' boto boto3 dill \
    multiprocess psutil pyusb pyqtgraph tendo

#install opencv 3.4.5
RUN wget https://github.com/opencv/opencv/archive/3.4.5.zip \
    unzip opencv-3.4.5.zip \
    cd opencv-3.4.5/ \
    mkdir build \
    cd build \

但是突然间,当我打电话给docker build --tag roskinetic:1.1 .时,它询问我不想要的Country of origin for the keyboard:,它应该使用已配置的内容或只是假设US。我不确定Dockerfile中的哪行会导致此问题,当我得到提示时会出现提示:

...
...
Setting up isc-dhcp-client (4.3.3-5ubuntu12.10) ...
Setting up keyboard-configuration (1.108ubuntu15.5) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Configuring keyboard-configuration

我该如何解决?即使经过手动选择,它似乎仍然无法继续构建我的图像。

0 个答案:

没有答案