Dockerfile 1.3 KB

1234567891011121314151617181920212223242526
  1. FROM registry.sdsys.ru/alpine-svn as svn
  2. RUN set -x \
  3. && svn co --force svn://192.168.21.250/programs/trunk/App/Bin/Win32/Lib Lib --username public --password "sds#7753435" \
  4. && svn co --force svn://192.168.21.250/programs/trunk/App/Bin/Win32 syncmanager --username public --password "sds#7753435" --depth empty \
  5. && cd syncmanager \
  6. && svn up IconsLib.dll --username public --password "sds#7753435" \
  7. && svn up ExcelExport.dll --username public --password "sds#7753435" \
  8. && svn up ssleay32.dll --username public --password "sds#7753435" \
  9. && svn up GDS32.DLL --username public --password "sds#7753435" \
  10. && svn up msvcr100.dll --username public --password "sds#7753435" \
  11. && svn up 7z.dll --username public --password "sds#7753435" \
  12. && svn up libeay32.dll --username public --password "sds#7753435" \
  13. && svn up SyncManager.exe --username public --password "sds#7753435" \
  14. && rm -rf /repository/Lib/.svn \
  15. && rm -rf /repository/syncmanager/.svn
  16. FROM registry.sdsys.ru/wine:fedora30-1
  17. ENV WINEPREFIX=/root/wine32 WINEARCH=win32
  18. RUN mkdir -p /opt/syncmanager
  19. COPY --from=svn /repository/syncmanager /opt/syncmanager
  20. COPY --from=svn /repository/Lib /opt/syncmanager
  21. COPY entrypoint.sh /opt/
  22. ENTRYPOINT ["/opt/entrypoint.sh"]