File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUN yum install -y \
15
15
libjpeg-devel \
16
16
libtiff-devel \
17
17
make \
18
- openssl11 -devel \
18
+ openssl -devel \
19
19
pth-devel \
20
20
shadow-utils \
21
21
sqlite-devel \
@@ -36,6 +36,14 @@ ENV PATH="/root/.cargo/bin:${PATH}"
36
36
37
37
RUN useradd --uid 1001 pillow
38
38
39
+ ADD depends /depends
40
+ RUN cd /depends \
41
+ && ./install_imagequant.sh
42
+
43
+ RUN yum remove -y openssl-devel && \
44
+ yum install -y openssl11-devel && \
45
+ yum clean all
46
+
39
47
RUN wget https://www.python.org/ftp/python/3.10.18/Python-3.10.18.tgz \
40
48
&& tar xzf Python-3.10.18.tgz \
41
49
&& cd Python-3.10.18 \
@@ -54,14 +62,12 @@ RUN bash -c "python3.10 -m pip install virtualenv \
54
62
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
55
63
&& chown -R pillow:pillow /vpy3"
56
64
57
- ADD depends /depends
58
65
RUN wget https://github.com/ninja-build/ninja/releases/download/v1.13.1/ninja-linux.zip \
59
66
&& unzip ninja-linux.zip \
60
67
&& mv ninja /usr/bin
61
68
RUN python3.10 -m pip install meson
62
69
RUN ln -s /usr/local/bin/python3.10 /usr/bin/python3
63
70
RUN cd /depends \
64
- && ./install_imagequant.sh \
65
71
&& ./install_openjpeg.sh \
66
72
&& ./install_raqm.sh \
67
73
&& ./install_webp.sh
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ RUN yum install -y \
17
17
libtiff-devel \
18
18
libwebp-devel \
19
19
make \
20
- meson \
21
20
nasm \
21
+ ninja-build \
22
22
openjpeg2-devel \
23
23
openssl-devel \
24
24
sqlite-devel \
@@ -53,6 +53,7 @@ RUN bash -c "python3.10 -m pip install virtualenv \
53
53
54
54
COPY depends /depends
55
55
RUN ln -sf /usr/local/bin/python3.10 /usr/bin/python3
56
+ RUN /usr/bin/python3 -m pip install --no-cache-dir meson
56
57
RUN cd /depends \
57
58
&& ./install_imagequant.sh \
58
59
&& ./install_libavif.sh \
You can’t perform that action at this time.
0 commit comments