浏览代码

Up Version

Vladimir Tomishinets 5 年之前
父节点
当前提交
7aa82930a8
共有 1 个文件被更改,包括 11 次插入4 次删除
  1. 11 4
      centos7/Dockerfile

+ 11 - 4
centos7/Dockerfile

@@ -1,7 +1,14 @@
 FROM centos:7.6.1810
-RUN yum install -y epel-release && \
-    yum install -y xorg-x11-server-Xvfb which cabextract p7zip wine wine-tahoma-fonts-system wine-wingdings-fonts-system && \
+#COPY winetricks/ /root/.cache/winetricks/
+RUN yum install -y epel-release wget iputils telnet net-tools bind-utils && \
+    yum install -y samba-winbind-clients xorg-x11-server-Xvfb which cabextract p7zip wine wine-tahoma-fonts-system wine-wingdings-fonts-system && \
+    yum update -y tzdata && \
+    mkdir -p /root/.cache/winetricks && \
+    cd /root/.cache/winetricks/ && \
+    wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && \
+    chmod +x winetricks && \
+    /root/.cache/winetricks/winetricks riched20 riched30 corefonts && \
     localedef -i ru_RU -f UTF-8 ru_RU.UTF-8 && \
-    /bin/sleep 5 && \
+    /bin/sleep 15 && \
     ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
-ENV LANG=ru_RU.utf8
+ENV LANG=ru_RU.utf8