File tree 2 files changed +1
-22
lines changed
2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,10 @@ ENV DEBIAN_FRONTEND=noninteractive
4
4
ENV TZ=Etc/UTC
5
5
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
6
6
7
- ARG MOZJPEG_VERSION=3.3.1
8
7
ARG VIPS_VERSION=8.10.1
9
8
10
- ARG MOZJPEG_URL=https://github.com/mozilla/mozjpeg/archive
11
9
ARG VIPS_URL=https://github.com/libvips/libvips/releases/download
12
10
13
- # mozjpeg installs to /opt/mozjpeg ... we need that on PKG_CONFIG_PATH so
14
- # that libvips configure can find it
15
- ENV PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/mozjpeg/lib64/pkgconfig
16
-
17
11
# libvips installs to /usr/local by default .. /usr/local/bin is on the
18
12
# default path in ubuntu, but /usr/local/lib is not
19
13
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
@@ -37,20 +31,6 @@ RUN apt-get update \
37
31
swig \
38
32
gobject-introspection
39
33
40
- RUN cd /usr/local/src \
41
- && wget ${MOZJPEG_URL}/v${MOZJPEG_VERSION}.tar.gz \
42
- && tar xzf v${MOZJPEG_VERSION}.tar.gz
43
-
44
- RUN cd /usr/local/src/mozjpeg-${MOZJPEG_VERSION} \
45
- && aclocal \
46
- && autoconf \
47
- && autoheader \
48
- && libtoolize \
49
- && automake --add-missing \
50
- && ./configure \
51
- && make \
52
- && make install
53
-
54
34
# we must not use any packages which depend directly or indirectly on libjpeg,
55
35
# since we want to use our own mozjpeg build
56
36
RUN apt-get install -y \
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Image Actions is a Github Action built by performance experts at [Calibre](https
10
10
Image Actions offers:
11
11
12
12
- ** Fast, efficient and near-lossless compression**
13
- - Best image compression algorithms available ([ mozjpeg ] ( https://github.com/mozilla/mozjpeg ) and [ libvips] ( https://github.com/libvips/libvips ) )
13
+ - Best image compression algorithms available ([ libvips] ( https://github.com/libvips/libvips ) )
14
14
- [ Ease of customisation] ( #Configuration ) : use default settings or adapt to your needs
15
15
- Running on demand or schedule
16
16
- Supports GitHub Enterprise
@@ -313,7 +313,6 @@ Happy to hear you’re interested in contributing to Image Actions! Please find
313
313
#### Image compression tools:
314
314
315
315
- [sharp](https://github.com/lovell/sharp)
316
- - [mozjpeg](https://github.com/mozilla/mozjpeg)
317
316
- [libvips](https://github.com/libvips/libvips)
318
317
319
318
## 💼 License
You can’t perform that action at this time.
0 commit comments