2023-05-04 16:16:56 +03:00
FROM opensuse/leap:15.5
2016-02-05 14:12:35 +03:00
ENV TERM ansi
ENV HOME /root
2018-01-14 01:28:52 +03:00
ENV REFRESHED_AT 20170113
2016-02-05 14:12:35 +03:00
RUN zypper --non-interactive --gpg-auto-import-keys refresh
2023-05-04 16:16:56 +03:00
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
2016-02-05 14:12:35 +03:00
RUN zypper --non-interactive --gpg-auto-import-keys install cmake make mingw32-cross-binutils mingw32-cross-cpp mingw32-cross-gcc \
2023-05-04 16:16:56 +03:00
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
2016-02-05 14:12:35 +03:00
# 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