From cb3db9275bcc6404f3c41e254db28926816dd78b Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Sun, 28 Apr 2024 22:52:59 +0100 Subject: [PATCH] build: fix shallow-since must be before current date --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d55f931..f0fd14f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG OSM_COMMIT_DATE=2024-04-28 +ARG OSM_COMMIT_DATE=2024-04-27 ARG OSM_COMMIT=fc81201cabc8fad5b45a51c7b805e7825d22c7b5 @@ -13,6 +13,7 @@ RUN set -ex \ WORKDIR /repo RUN update-ca-certificates ARG OSM_COMMIT +ARG OSM_COMMIT_DATE RUN git clone --branch master --shallow-since="${OSM_COMMIT_DATE}" \ https://github.com/openstreetmap/openstreetmap-website.git \ && cd openstreetmap-website && git checkout "${OSM_COMMIT}"