Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:
android*)
PLATFORM="" ;;
client*)
PLATFORM="--platform 'linux/amd64'" ;;
PLATFORM="--platform linux/amd64" ;;
translations*)
PLATFORM="--platform 'linux/amd64'" ;;
PLATFORM="--platform linux/amd64" ;;
*32bit)
PLATFORM="--platform 'linux/386'" ;;
PLATFORM="--platform linux/386" ;;
*)
PLATFORM="--platform linux/amd64,linux/arm64" ;;
esac
Expand Down
239 changes: 0 additions & 239 deletions client-appimage-qt6/Dockerfile

This file was deleted.

70 changes: 70 additions & 0 deletions client-appimage-qt6/Dockerfile.build.el8
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
FROM almalinux/8-base

MAINTAINER Desktop Team <desktop@nextcloud.com>

RUN dnf update -y && \
dnf install -y epel-release && \
dnf config-manager --set-enabled powertools && \
dnf update -y && \
dnf install -y \
xz \
gcc-toolset-14 \
gcc-toolset-14-libatomic-devel \
git-core \
patch \
python3.12 \
python3.12-pip \
xcb-util-cursor-devel \
xcb-util-devel \
xcb-util-image-devel \
xcb-util-keysyms-devel \
xcb-util-renderutil-devel \
xcb-util-wm-devel \
xkeyboard-config-devel \
xorg-x11-server-Xvfb \
xorg-x11-xkb-utils-devel \
libxcb-devel \
libxkbfile-devel \
libxshmfence-devel \
libxkbcommon-devel \
libxkbcommon-x11-devel \
libSM-devel \
libX11-devel \
libXScrnSaver-devel \
libXcomposite-devel \
libXcursor-devel \
libXdamage-devel \
libXext-devel \
libXfixes-devel \
libXi-devel \
libXinerama-devel \
libXrandr-devel \
libXrender-devel \
libXtst-devel \
libXv-devel \
mesa-libEGL-devel \
mesa-libGL-devel \
mesa-libgbm-devel \
alternatives --set python /usr/bin/python3.12 && \
alternatives --set python3 /usr/bin/python3.12

###########################################################################

# Install craftmaster
RUN \
cd /root && \
git clone https://invent.kde.org/packaging/craftmaster.git \
;

ADD craftmaster.ini /root/craftmaster.ini

# Install binary dependencies
RUN \
scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --add-blueprint-repository "https://github.com/nextcloud/craft-blueprints-kde.git|stable-4.0|" && \
scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --add-blueprint-repository "https://github.com/nextcloud/desktop-client-blueprints.git|stable-4.0|" && \
scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c craft && \
scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --install-deps nextcloud-client && \
scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --no-cache -i kde/frameworks/tier1/karchive && \
scl run gcc-toolset-14 -- PKG_CONFIG_PATH=/usr/lib64/pkgconfig/:/usr/share/pkgconfig python3 /root/craftmaster/CraftMaster.py --config /root/craftmaster.ini --target linux-gcc-x86_64 -c --no-cache -i qt-libs/qtkeychain && \
rm -rf /root/linux-gcc-x86_64/build \
;
Loading
Loading