From 7d87f7632ee71494cf30cddaa19da77c7af1c95e Mon Sep 17 00:00:00 2001 From: luocai Date: Mon, 16 Dec 2024 20:47:43 +0800 Subject: [PATCH] add libjpeg-turbo. --- Dockerfiles/ubuntu2404.dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfiles/ubuntu2404.dockerfile b/Dockerfiles/ubuntu2404.dockerfile index 5e829ff..12cc6af 100644 --- a/Dockerfiles/ubuntu2404.dockerfile +++ b/Dockerfiles/ubuntu2404.dockerfile @@ -116,6 +116,15 @@ RUN cd /root \ && cmake --install build \ && rm -fr /root/wt-${WT_VERSION}* +RUN cd /root \ + && wget https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.1.0/libjpeg-turbo-3.1.0.tar.gz \ + && tar xvf libjpeg-turbo-3.1.0.tar.gz \ + && cd /root/libjpeg-turbo-3.1.0 \ + && cmake -G Ninja -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/Libraries/libjpeg-turbo-3.1.0 -DENABLE_SHARED=OFF \ + && cmake --build build --target all \ + && cmake --install build \ + && rm -fr /root/libjpeg-turbo-3.1.0* + RUN wget https://github.com/pouriyajamshidi/tcping/releases/download/v2.6.0/tcping_Linux.tar.gz -O /tmp/tcping_Linux.tar.gz \ && tar -xzf /tmp/tcping_Linux.tar.gz -C /usr/bin \ && rm /tmp/tcping_Linux.tar.gz