diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89cbb37..bb73e0c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -618,6 +618,44 @@ build_fedora_thirtynine_arm: paths: - output/ +build_fedora_forty: + stage: build + allow_failure: true + tags: + - oci-fixed-amd + before_script: + - *prepare_build + - *prepare_www + after_script: + - *prepare_artfacts + script: + - bash builder/build-package fedora forty; + only: + variables: + - $BUILD_JOBS == 'all' || $BUILD_JOBS =~ $CI_JOB_NAME + artifacts: + paths: + - output/ + +build_fedora_forty_arm: + stage: build + allow_failure: true + tags: + - oci-fixed-arm + before_script: + - *prepare_build + - *prepare_www + after_script: + - *prepare_artfacts + script: + - bash builder/build-package fedora forty; + only: + variables: + - $BUILD_JOBS == 'all' || $BUILD_JOBS =~ $CI_JOB_NAME + artifacts: + paths: + - output/ + build_alpine_317: stage: build allow_failure: true diff --git a/builder/dockerfile.fedora_forty.build b/builder/dockerfile.fedora_forty.build new file mode 100644 index 0000000..d5ad068 --- /dev/null +++ b/builder/dockerfile.fedora_forty.build @@ -0,0 +1,86 @@ +FROM fedora:40 + +ENV KASMVNC_BUILD_OS fedora +ENV KASMVNC_BUILD_OS_CODENAME forty +ENV XORG_VER 1.20.14 + +RUN \ + echo "**** install build deps ****" && \ + dnf group install -y \ + "C Development Tools and Libraries" \ + "Development Tools" && \ + dnf install -y \ + autoconf \ + automake \ + bison \ + byacc \ + bzip2 \ + cmake \ + diffutils \ + doxygen \ + file \ + flex \ + fop \ + gcc \ + gcc-c++ \ + git \ + glibc-devel \ + libdrm-devel \ + libepoxy-devel \ + libmd-devel \ + libpciaccess-devel \ + libtool \ + libwebp-devel \ + libX11-devel \ + libXau-devel \ + libxcb-devel \ + libXcursor-devel \ + libxcvt-devel \ + libXdmcp-devel \ + libXext-devel \ + libXfont2-devel \ + libxkbfile-devel \ + libXrandr-devel \ + libxshmfence-devel \ + libXtst-devel \ + mesa-libEGL-devel \ + mesa-libgbm-devel \ + mesa-libGL-devel \ + meson \ + mingw64-binutils \ + mt-st \ + nettle-devel \ + openssl-devel \ + patch \ + pixman-devel \ + wayland-devel \ + wget \ + which \ + xcb-util-devel \ + xcb-util-image-devel \ + xcb-util-keysyms-devel \ + xcb-util-renderutil-devel \ + xcb-util-wm-devel \ + xinit \ + xkbcomp \ + xkbcomp-devel \ + xkeyboard-config \ + xmlto \ + xorg-x11-font-utils \ + xorg-x11-proto-devel \ + xorg-x11-server-common \ + xorg-x11-server-devel \ + xorg-x11-xtrans-devel \ + xsltproc + +ENV SCRIPTS_DIR=/tmp/scripts +COPY builder/scripts $SCRIPTS_DIR +RUN $SCRIPTS_DIR/build-webp +RUN $SCRIPTS_DIR/build-libjpeg-turbo + +RUN useradd -m docker && echo "docker:docker" | chpasswd + +COPY --chown=docker:docker . /src/ + +USER docker +ENTRYPOINT ["/src/builder/build.sh"] diff --git a/builder/dockerfile.fedora_forty.rpm.build b/builder/dockerfile.fedora_forty.rpm.build new file mode 100644 index 0000000..1bebe4d --- /dev/null +++ b/builder/dockerfile.fedora_forty.rpm.build @@ -0,0 +1,13 @@ +FROM fedora:40 + +RUN dnf install -y fedora-packager fedora-review +RUN dnf install -y tree vim less +RUN dnf install -y redhat-lsb-core +RUN dnf install -y dnf-plugins-core + +COPY fedora/*.spec /tmp +RUN dnf builddep -y /tmp/*.spec + +RUN useradd -m docker && echo "docker:docker" | chpasswd + +USER docker