From ded5a108426e2c837baf0b0c74a0b13b2ef141b7 Mon Sep 17 00:00:00 2001 From: Antonio K Date: Thu, 26 Oct 2023 15:00:28 +0300 Subject: [PATCH] Do not clone all git history (openssl) Do not clone all `openssl` git history since we need just a current repo state. Save traffic, time and diskspace. --- docker/debian-nginx-ssl-ja3/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/debian-nginx-ssl-ja3/Dockerfile b/docker/debian-nginx-ssl-ja3/Dockerfile index d4ab7a7..7748610 100644 --- a/docker/debian-nginx-ssl-ja3/Dockerfile +++ b/docker/debian-nginx-ssl-ja3/Dockerfile @@ -61,7 +61,7 @@ RUN git clone https://github.com/nginx/nginx-tests # Build and install openssl -RUN git clone -v https://github.com/openssl/openssl -b 'OpenSSL_1_1_1-stable' +RUN git clone -v https://github.com/openssl/openssl -b 'OpenSSL_1_1_1-stable' --depth=1 COPY patches/openssl.extensions.patch /build/openssl WORKDIR /build/openssl