|
@@ -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"]
|