2024-09-14 04:24:00 +00:00
|
|
|
FROM debian:bookworm
|
|
|
|
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
2024-10-20 04:59:13 +00:00
|
|
|
apt-get install --no-install-recommends -qyy \
|
|
|
|
golang-go \
|
|
|
|
qtbase5-dev \
|
2024-11-04 10:15:10 +00:00
|
|
|
qtmultimedia5-dev \
|
2024-11-26 06:55:10 +00:00
|
|
|
qtscript5-dev \
|
2024-11-26 06:52:58 +00:00
|
|
|
libqt5svg5-dev \
|
2024-11-26 09:31:23 +00:00
|
|
|
libqt5webkit5-dev \
|
2024-11-27 05:16:40 +00:00
|
|
|
qtwebengine5-dev \
|
2024-10-20 05:19:37 +00:00
|
|
|
qt6-base-dev \
|
2024-11-04 10:15:10 +00:00
|
|
|
qt6-multimedia-dev \
|
2024-11-26 06:52:58 +00:00
|
|
|
qt6-svg-dev \
|
2024-11-27 05:16:40 +00:00
|
|
|
qt6-webengine-dev \
|
2024-10-20 04:59:13 +00:00
|
|
|
libqscintilla2-qt5-dev \
|
2024-11-06 05:29:56 +00:00
|
|
|
libqscintilla2-qt6-dev \
|
2024-10-20 04:59:13 +00:00
|
|
|
clang \
|
|
|
|
git \
|
|
|
|
ca-certificates \
|
|
|
|
pkg-config \
|
|
|
|
build-essential && \
|
|
|
|
apt-get clean
|
2024-10-20 05:02:08 +00:00
|
|
|
|
|
|
|
RUN mkdir -p /usr/local/src/scintilla && \
|
|
|
|
git clone 'https://github.com/mirror/scintilla.git' /usr/local/src/scintilla && \
|
|
|
|
git -C /usr/local/src/scintilla checkout rel-5-5-2
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
cd /usr/local/src/scintilla/qt/ScintillaEditBase && \
|
|
|
|
qmake && \
|
|
|
|
make && \
|
|
|
|
cd /usr/local/src/scintilla/qt/ScintillaEdit && \
|
|
|
|
python3 WidgetGen.py && \
|
|
|
|
qmake && \
|
|
|
|
make
|
|
|
|
|
2024-10-20 04:59:13 +00:00
|
|
|
RUN mkdir -p /usr/local/lib/pkgconfig
|
2024-10-20 05:02:08 +00:00
|
|
|
|
2024-10-20 04:59:13 +00:00
|
|
|
COPY pkg-config/QScintilla.pc.example /usr/local/lib/pkgconfig/QScintilla.pc
|
2024-10-20 05:02:08 +00:00
|
|
|
COPY pkg-config/ScintillaEdit.pc.example /usr/local/lib/pkgconfig/ScintillaEdit.pc
|
|
|
|
|
2024-10-20 04:59:13 +00:00
|
|
|
ENV GOFLAGS=-buildvcs=false
|