Skip to content

Commit

Permalink
Install mozjpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 31, 2024
1 parent 6dd3a6b commit ee2d594
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ubuntu-24.04-noble-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
cmake \
git \
libegl-dev \
nasm \
python3-dev \
python3-setuptools \
python3-tk \
Expand All @@ -15,6 +16,14 @@ RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*

RUN git clone https://github.com/mozilla/mozjpeg.git
RUN cd mozjpeg \
&& git checkout v4.1.1 \
&& mkdir build \
&& cd build \
&& sudo cmake -G"Unix Makefiles" ../ \
&& sudo make install

RUN useradd pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow
Expand Down

0 comments on commit ee2d594

Please # to comment.