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