File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 99 - DL3041 # Pin versions in dnf install
1010 - DL3047 # Avoid use of wget without progress bar
1111 - DL3059 # Multiple consecutive RUN instructions
12- - DL4001 # Either use Wget or Curl but not both
1312 - SC2016 # Expressions don't expand in single quotes
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ RUN yum install -y \
2323 tk-devel \
2424 unzip \
2525 util-linux \
26- wget \
2726 which \
2827 xorg-x11-server-Xvfb \
2928 xorg-x11-xauth \
@@ -44,7 +43,7 @@ RUN yum remove -y openssl-devel && \
4443 yum install -y openssl11-devel && \
4544 yum clean all
4645
47- RUN wget https://www.python.org/ftp/python/3.10.18/Python-3.10.18.tgz \
46+ RUN curl -fsSLO https://www.python.org/ftp/python/3.10.18/Python-3.10.18.tgz \
4847 && tar xzf Python-3.10.18.tgz \
4948 && cd Python-3.10.18 \
5049 && ./configure \
@@ -62,7 +61,7 @@ RUN bash -c "python3.10 -m pip install virtualenv \
6261 && /vpy3/bin/pip install numpy --only-binary=:all: || true \
6362 && chown -R pillow:pillow /vpy3"
6463
65- RUN wget https://github.com/ninja-build/ninja/releases/download/v1.13.2/ninja-linux.zip \
64+ RUN curl -fsSLO https://github.com/ninja-build/ninja/releases/download/v1.13.2/ninja-linux.zip \
6665 && unzip ninja-linux.zip \
6766 && mv ninja /usr/bin
6867RUN python3.10 -m pip install --no-cache-dir meson
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN yum install -y \
2626 tar \
2727 unzip \
2828 util-linux \
29- wget \
29+ curl \
3030 which \
3131 xorg-x11-server-Xvfb \
3232 xorg-x11-xauth \
@@ -50,7 +50,7 @@ RUN bash -c "/usr/bin/python3.11 -m pip install virtualenv \
5050 && chown -R pillow:pillow /vpy3"
5151
5252COPY depends /depends
53- RUN wget https://github.com/ninja-build/ninja/releases/download/v1.13.2/ninja-linux.zip \
53+ RUN curl -fsSLO https://github.com/ninja-build/ninja/releases/download/v1.13.2/ninja-linux.zip \
5454 && unzip ninja-linux.zip \
5555 && mv ninja /usr/bin
5656RUN /usr/bin/python3.11 -m pip install meson
You can’t perform that action at this time.
0 commit comments