1- FROM ghcr.io/linuxserver/baseimage-kasmvnc:ubuntunoble
1+ # syntax=docker/dockerfile:1
2+
3+ FROM ghcr.io/linuxserver/baseimage-selkies:ubuntunoble
24
35ARG BUILD_DATE
46ARG VERSION
1416RUN \
1517 echo "**** add icon ****" && \
1618 curl -o \
17- /kclient/public /icon.png \
19+ /usr/share/selkies/www /icon.png \
1820 https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/nomacs-logo.png && \
1921 echo "**** install build dependencies ****" && \
2022 apt-get update && \
@@ -26,38 +28,33 @@ RUN \
2628 git \
2729 lcov \
2830 libexiv2-dev \
31+ libgtest-dev \
2932 libheif-dev \
3033 libopencv-dev \
31- libqt5svg5 -dev \
32- libquazip5 -dev \
34+ libqt6svg6 -dev \
35+ libquazip1-qt6 -dev \
3336 libraw-dev \
3437 libtiff-dev \
3538 libwebp-dev \
39+ libxkbcommon-dev \
3640 libzip-dev \
37- qt5-qmake \
38- qttools5-dev \
39- qttools5-dev-tools && \
41+ qmake6 \
42+ qt6-declarative-dev-tools \
43+ qt6-svg-dev \
44+ qt6-tools-dev && \
4045 echo "**** install runtime dependencies ****" && \
4146 apt-get install -y --no-install-recommends \
4247 kimageformat-plugins \
4348 libexiv2-27 \
4449 libheif1 \
4550 libopencv-core406t64 \
4651 libopencv-imgproc406t64 \
47- libquazip5 -1t64 \
48- libqt5concurrent5t64 \
49- libqt5printsupport5t64 \
50- libqt5svg5 \
52+ libquazip1-qt6 -1t64 \
53+ libqt6concurrent6t64 \
54+ libqt6printsupport6t64 \
55+ libqt6svg6 \
5156 libraw23t64 \
52- qt5-image-formats-plugins && \
53- echo "**** compile heif plugin ****" && \
54- mkdir -p /tmp/heif && \
55- git clone https://github.com/jakar/qt-heif-image-plugin.git /tmp/heif && \
56- mkdir -p /tmp/heif/build && \
57- cd /tmp/heif/build && \
58- cmake .. && \
59- make && \
60- make install && \
57+ qt6-image-formats-plugins && \
6158 echo "**** compile nomacs ****" && \
6259 if [ -z "${APP_VERSION}" ]; then \
6360 APP_VERSION=$(curl -sX GET https://api.github.com/repos/nomacs/nomacs/commits/master | jq -r '. | .sha' | cut -c1-8); \
6865 git checkout "${APP_VERSION}" && \
6966 mkdir -p /tmp/nomacs/build && \
7067 cd /tmp/nomacs/build && \
71- cmake ../ImageLounge/. && \
68+ cmake \
69+ -DENABLE_OPENCV=ON \
70+ -DENABLE_RAW=ON \
71+ -DENABLE_TIFF=ON \
72+ -DENABLE_QUAZIP=ON \
73+ -DENABLE_PLUGINS=ON \
74+ ../ImageLounge/. && \
7275 make && \
7376 make install && \
7477 ldconfig && \
@@ -82,17 +85,21 @@ RUN \
8285 git \
8386 lcov \
8487 libexiv2-dev \
88+ libgtest-dev \
8589 libheif-dev \
8690 libopencv-dev \
87- libqt5svg5-dev \
91+ libqt6svg6-dev \
92+ libquazip1-qt6-dev \
8893 libquazip5-dev \
8994 libraw-dev \
9095 libtiff-dev \
9196 libwebp-dev \
97+ libxkbcommon-dev \
9298 libzip-dev \
93- qt5-qmake \
94- qttools5-dev \
95- qttools5-dev-tools && \
99+ qmake6 \
100+ qt6-declarative-dev-tools \
101+ qt6-svg-dev \
102+ qt6-tools-dev && \
96103 rm -rf \
97104 /tmp/* \
98105 /var/lib/apt/lists/* \
0 commit comments