基于Deepin提供的wine组件构建的基础镜像,用于构建其他的应用镜像,比如微信、QQ。
# docker build -f Dockerfile -t luowenqiang/deepin-wine-base:1.0 .
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
# 安装更新和必要的组件
RUN apt-get update && apt-get upgrade -y && apt-get -y install ca-certificates wget curl apt-utils xdotool libfontconfig1 locales tzdata
# 设置语言和时区
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
RUN echo 'zh_CN.UTF-8 UTF-8' > /etc/locale.gen \
&& locale-gen \
&& echo -e 'LANG="zh_CN.UTF-8"\nLANGUAGE="zh_CN:zh"\n' > /etc/default/locale \
&& . /etc/default/locale
ENV TZ Asia/Shanghai
ENV LANGUAGE=zh_CN.UTF-8:en_US:en \
LC_ALL=zh_CN.UTF-8 \
LANG=zh_CN.UTF-8
# 安装deepin的wine依赖,这些需要自己到Deepin相关的网站去下载
# 我是克隆了 https://github.com/wszqkzqk/deepin-wine-ubuntu.git 仓库下来使用的
WORKDIR /root
COPY . .
ADD sources.list /etc/apt/sources.list
WORKDIR /root/deepin-wine-for-ubuntu/
RUN . /root/deepin-wine-for-ubuntu/install_2.8.22.sh
#RUN apt-get update && apt-get upgrade -y
# 配置字体
WORKDIR /
ADD WindowsFonts /usr/share/fonts/
RUN ls -l /usr/share/fonts/
RUN fc-cache -fv
WORKDIR /root
RUN rm -rf /root/deepin-wine-for-ubuntu/ && apt-get autoremove -y && apt-get clean -y
CMD ["/bin/bash"]
Content type
Image
Digest
Size
1 GB
Last updated
almost 6 years ago
docker pull luowenqiang/deepin-wine-base:1.0