Skip to content

Commit 9522720

Browse files
committed
Install wget to work with retry flags
1 parent 3fe14c8 commit 9522720

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

alpine/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN apk --no-cache add \
3333
tcl-dev \
3434
tiff-dev \
3535
tk-dev \
36+
wget \
3637
zlib-dev
3738

3839
COPY depends /depends

amazon-2-amd64/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ RUN yum install -y \
1010
gcc-c++ \
1111
ghostscript \
1212
git \
13+
gnutls-devel \
1314
harfbuzz-devel \
1415
lcms2-devel \
1516
libjpeg-devel \
@@ -36,6 +37,14 @@ ENV PATH="/root/.cargo/bin:${PATH}"
3637

3738
RUN useradd --uid 1001 pillow
3839

40+
RUN wget --no-verbose https://ftp.gnu.org/gnu/wget/wget-1.25.0.tar.gz \
41+
&& tar xzf wget-1.25.0.tar.gz \
42+
&& cd wget-1.25.0 \
43+
&& ./configure \
44+
&& make install \
45+
&& cd .. \
46+
&& rm -r wget-1.25.0 wget-1.25.0.tar.gz
47+
3948
COPY depends /depends
4049
RUN cd /depends \
4150
&& ./install_imagequant.sh

0 commit comments

Comments
 (0)