You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
400 B
Docker

FROM debian:11
RUN apt update && apt install build-essential libgl1-mesa-dev git cmake libmariadb-dev
RUN git clone https://code.qt.io/qt/qt5.git qt6
WORKDIR /root/qt6
RUN perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver
RUN /root/qt6/configure
RUN cmake --build . --parallel 4
RUN cmake --install .
ENV QTVERSION=6.4.2
WORKDIR /usr/local/Qt-${QTVERSION}/bin
RUN rm -rf /root/*