Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
build: fix shallow-since must be before current date
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Apr 28, 2024
1 parent b5f72c4 commit cb3db92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG OSM_COMMIT_DATE=2024-04-28
ARG OSM_COMMIT_DATE=2024-04-27
ARG OSM_COMMIT=fc81201cabc8fad5b45a51c7b805e7825d22c7b5


Expand All @@ -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}"
Expand Down

0 comments on commit cb3db92

Please sign in to comment.