From f16ed46e767473ee3ab41854d43d7bcaa9e0890d Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 8 May 2020 11:32:39 +0200 Subject: [PATCH] Provide the correct branch to Dockerhub builds ... and at the same time allow correct local builds -- the default branch is 3.1dev at the moment. It still clones the repo from github which isn't needed. A pure copy command would be the best. However it might cause other problems. See also #1559 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 11e2759..5884c4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN ln -s /home/testssl/testssl.sh /usr/local/bin/ USER testssl WORKDIR /home/testssl/ -RUN git clone --depth=1 https://github.com/drwetter/testssl.sh.git . +RUN git clone -b 3.0 --depth=1 https://github.com/drwetter/testssl.sh.git . ENTRYPOINT ["testssl.sh"]