FROM registry.sdsys.ru/alpine-svn as svn RUN set -x \ && svn co --force svn://192.168.21.250/programs/trunk/App/Bin/Win32/Lib Lib --username public --password "sds#7753435" \ && svn co --force svn://192.168.21.250/programs/trunk/App/Bin/Win32 syncmanager --username public --password "sds#7753435" --depth empty \ && cd syncmanager \ && svn up IconsLib.dll --username public --password "sds#7753435" \ && svn up ExcelExport.dll --username public --password "sds#7753435" \ && svn up ssleay32.dll --username public --password "sds#7753435" \ && svn up GDS32.DLL --username public --password "sds#7753435" \ && svn up msvcr100.dll --username public --password "sds#7753435" \ && svn up 7z.dll --username public --password "sds#7753435" \ && svn up libeay32.dll --username public --password "sds#7753435" \ && svn up SyncManager.exe --username public --password "sds#7753435" \ && rm -rf /repository/Lib/.svn \ && rm -rf /repository/syncmanager/.svn FROM registry.sdsys.ru/wine:fedora30-1 ENV WINEPREFIX=/root/wine32 WINEARCH=win32 RUN mkdir -p /opt/syncmanager COPY --from=svn /repository/syncmanager /opt/syncmanager COPY --from=svn /repository/Lib /opt/syncmanager COPY entrypoint.sh /opt/ ENTRYPOINT ["/opt/entrypoint.sh"]