diff --git a/admin/win/docker/Dockerfile b/admin/win/docker/Dockerfile deleted file mode 100644 index d1071a19ef158..0000000000000 --- a/admin/win/docker/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -FROM opensuse/leap:15.5 - -ENV TERM ansi -ENV HOME /root - -ENV REFRESHED_AT 20170113 - -RUN zypper --non-interactive --gpg-auto-import-keys refresh -RUN zypper --non-interactive --gpg-auto-import-keys ar https://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_15.5/windows:mingw:win32.repo -RUN zypper --non-interactive --gpg-auto-import-keys install cmake make mingw32-cross-binutils mingw32-cross-cpp mingw32-cross-gcc \ - mingw32-cross-gcc-c++ mingw32-filesystem \ - mingw32-headers mingw32-runtime site-config mingw32-libssp0 \ - mingw32-angleproject* \ - mingw32-cross-nsis mingw32-libopenssl-devel mingw32-libopenssl \ - mingw32-sqlite* \ - wget - -# RPM depends on curl for installs from HTTP -RUN zypper --non-interactive --gpg-auto-import-keys install curl - -# sudo needed for building as user -RUN zypper --non-interactive --gpg-auto-import-keys install sudo - -# Use packaged UAC dependencies -RUN zypper --non-interactive --gpg-auto-import-keys install mingw32-cross-nsis-plugin-uac mingw32-cross-nsis-plugin-nsprocess - -# Required for checksumming -RUN zypper --non-interactive --gpg-auto-import-keys install mingw32-zlib-devel - -# Required for windres not to crash -RUN zypper --non-interactive --gpg-auto-import-keys install glibc-locale - -CMD /bin/bash diff --git a/admin/win/docker/build.sh b/admin/win/docker/build.sh deleted file mode 100755 index 1ae0146c1b6d6..0000000000000 --- a/admin/win/docker/build.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [ $# -lt 1 ]; then - echo "Usage: $(basename $0) directory_relative_to_home [uid]" - exit -fi - -useradd user -u ${2:-1000} -su - user << EOF - cd /home/user/$1 - rm -rf build-win32 - mkdir build-win32 - cd build-win32 - ../admin/win/download_runtimes.sh - cmake .. -DCMAKE_TOOLCHAIN_FILE=../admin/win/Toolchain-mingw32-openSUSE.cmake -DWITH_CRASHREPORTER=ON - make -j4 - make package - ctest . -EOF