remove obsolete not working docker image for windows compilation
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 26 Sep 2024 09:51:33 +0000 (11:51 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 26 Sep 2024 10:01:30 +0000 (12:01 +0200)
that image was supposed to be usable for cross compilation from Linux to
build a Windows release

probably never worked

not working anymore but creating confusion

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
admin/win/docker/Dockerfile [deleted file]
admin/win/docker/build.sh [deleted file]

diff --git a/admin/win/docker/Dockerfile b/admin/win/docker/Dockerfile
deleted file mode 100644 (file)
index d1071a1..0000000
+++ /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 (executable)
index 1ae0146..0000000
+++ /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