Docker安装Wine Dockerfile EULA
我在我的高山形象上安装葡萄酒有一点问题。 这是我的Dockerfile:
RUN dpkg --add-architecture i386 && sudo apt-get update RUN sudo apt-get install software-properties-common python-software-properties RUN sudo add-apt-repository ppa:ubuntu-wine/ppa RUN sudo apt-get update RUN sudo apt-get install wine1.8 winetricks RUN sudo apt-get purge software-properties-common python-software-properties RUN rm -rf /tmp/* /var/lib/apt/lists/* /root/.cache/* CMD /bin/bash;
所有似乎工作正常,但在sudo apt-get安装wine1.8 winetricks我有这个EULA屏幕: 当然我没有权利写“是”。 我试过了 :
RUN echo "yes" | sudo apt-get install wine1.8 winetricks RUN sudo apt-get -y install wine1.8 winetricks
我能做什么 ?