mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
ac6708b3a2
* Tests: Fix InputCompletion tests in Qt6 This is achieved by not checking exact order for certain completion tests * Tests: Use Ubuntu 22.04 for all tests This allows us to be a bit more loose and use more C++20 features in tests * Update dockerfiles
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
FROM ubuntu:22.04
|
|
|
|
ENV TZ=UTC
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
RUN apt-get update && apt-get -y install --no-install-recommends \
|
|
cmake \
|
|
virtualenv \
|
|
rapidjson-dev \
|
|
libfuse2 \
|
|
libssl-dev \
|
|
libboost-dev \
|
|
libxcb-randr0-dev \
|
|
libboost-system-dev \
|
|
libboost-filesystem-dev \
|
|
libpulse-dev \
|
|
libxkbcommon-x11-0 \
|
|
build-essential \
|
|
libgl1-mesa-dev \
|
|
libxcb-icccm4 \
|
|
libxcb-image0 \
|
|
libxcb-keysyms1 \
|
|
libxcb-render-util0 \
|
|
libxcb-xinerama0 \
|
|
libfontconfig
|
|
|
|
RUN apt-get -y install \
|
|
git \
|
|
lsb-release \
|
|
python3-pip && \
|
|
apt-get clean all
|
|
|
|
# Install Qt as we do in CI
|
|
|
|
RUN pip3 install -U pip && \
|
|
pip3 install aqtinstall && \
|
|
aqt install-qt linux desktop 5.15.2 && \
|
|
mkdir -p /opt/qt515 && \
|
|
mv /5.15.2/gcc_64/* /opt/qt515
|
|
|
|
ADD ./.patches /tmp/.patches
|
|
|
|
# Apply Qt patches
|
|
RUN patch "/opt/qt515/include/QtConcurrent/qtconcurrentthreadengine.h" /tmp/.patches/qt5-on-newer-gcc.patch
|