From 10f89cc7c9256f83ec6d9a67f8f6748e956eb489 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Fri, 15 Sep 2023 16:57:43 +0100 Subject: [PATCH] ansible: update zlib fetch URL 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. --- .../roles/docker/templates/ubuntu1804_sharedlibs.Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/docker/templates/ubuntu1804_sharedlibs.Dockerfile.j2 b/ansible/roles/docker/templates/ubuntu1804_sharedlibs.Dockerfile.j2 index 5f5653995..edee9b654 100644 --- a/ansible/roles/docker/templates/ubuntu1804_sharedlibs.Dockerfile.j2 +++ b/ansible/roles/docker/templates/ubuntu1804_sharedlibs.Dockerfile.j2 @@ -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 && \