葡萄酒未安装在Docker容器中

时间:2020-05-12 21:12:46

标签: docker ubuntu containers wine

我一直试图在docker容器中安装wine以运行Windows应用程序。我已经在Ubuntu 18.40和19.10上尝试过。

关于缺少的UI,我确实遇到了一些错误,例如:(0014:err:ole:marshal_object无法获得接口{00000131–0000–0000-c000–000000000046}的IPSFactory缓冲区)。

当我查看正在运行的容器时,未安装wine(/ usr / bin)。 “哪里”和“哪个”找不到酒。

有什么主意为什么酒会丢失在容器中?

这是我的Dockerfile的wine安装部分:

FROM ubuntu:19.10

RUN apt-get update
RUN apt-get install -y wget

RUN dpkg --add-architecture i386
RUN apt-get update


RUN apt-get install -y software-properties-common gnupg2
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key
RUN apt-key add winehq.key
RUN apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
RUN add-apt-repository ppa:cybermax-dexter/sdl2-backport
RUN apt update && apt install -y --install-recommends winehq-stable

0 个答案:

没有答案
相关问题