Browse Source

upVersion base-image

Vladimir Tomishinets 4 years ago
parent
commit
c6aff4693f
1 changed files with 7 additions and 3 deletions
  1. 7 3
      Dockerfile

+ 7 - 3
Dockerfile

@@ -1,9 +1,13 @@
-FROM registry.sdsys.ru/wine:centos6-0.1.1
+FROM registry.sdsys.ru/wine:fedora-30
 
-RUN mkdir -p /root/.wine/drive_c/services/analis
-RUN mkdir -p /opt/analis
+
+RUN rm -rf /root/.wine && \
+    cp -rf /root/wine32 /root/.wine && \
+    mkdir -p /root/.wine/drive_c/services/analis && \
+    mkdir -p /opt/analis
 COPY analis pdf2png /opt/analis/
 COPY healthcheck.sh entrypoint.sh /opt/
 HEALTHCHECK --interval=5s --start-period=3m CMD /opt/healthcheck.sh
 
+ENV LANG=ru_RU.utf8
 ENTRYPOINT ["/opt/entrypoint.sh"]