Skip to content

Commit

Permalink
ansible: update zlib fetch URL
Browse files Browse the repository at this point in the history
Once zlib releases a new version they remove the older one and move it
to https://www.zlib.net/fossils/. Use this more stable URL to fetch the
zlib source when building containers.
  • Loading branch information
richardlau authored and targos committed Sep 18, 2023
1 parent e92bab7 commit 10f89cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ ENV ZLIB12DIR /opt/zlib_$ZLIBVER

RUN mkdir -p /tmp/zlib_$ZLIBVER && \
cd /tmp/zlib_$ZLIBVER && \
curl -sL https://zlib.net/zlib-$ZLIBVER.tar.gz | tar zxv --strip=1 && \
curl -sL https://zlib.net/fossils/zlib-$ZLIBVER.tar.gz | tar zxv --strip=1 && \
./configure --prefix=$ZLIB12DIR && \
make -j 6 && \
make install && \
Expand Down

0 comments on commit 10f89cc

Please sign in to comment.