From 5a0763f534ea3f972831c3fcc054372337ecbab1 Mon Sep 17 00:00:00 2001 From: caleb crome Date: Mon, 16 Jan 2023 20:48:26 -0800 Subject: [PATCH] Update dockerfile to only do flat checkouts as in earlier versions --- scripts/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 995e88f..fc6a92f 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -19,7 +19,7 @@ RUN dnf install -y git-core python3-markdown python3-setuptools python3-affine p # Get Boxes.py sources to /boxes ARG BUILD_BRANCH=master ARG BUILD_REPO=https://github.com/florianfesti/boxes.git -RUN git clone ${BUILD_REPO} && cd boxes && git checkout ${BUILD_BRANCH} +RUN git clone --depth 1 -b ${BUILD_BRANCH} ${BUILD_REPO} RUN chmod +x /boxes/scripts/boxesserver # Internal port used