From 21c0d09db58cdcb404d0561a5fc012b64b3f671b Mon Sep 17 00:00:00 2001 From: Matt Frazier Date: Fri, 10 Jan 2025 13:21:47 -0500 Subject: [PATCH] Support older versions of Docker for Policy pulls --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d5dce5b303a..31fcb8ccbec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,9 @@ RUN set -ex \ WORKDIR /code # Policies -ADD https://github.com/CenterForOpenScience/cos.io.git#master ./COS_POLICIES/ +RUN git clone https://github.com/CenterForOpenScience/cos.io.git ./COS_POLICIES/ +# When Jenkins uses a newer docker: +# ADD https://github.com/CenterForOpenScience/cos.io.git#master ./COS_POLICIES/ COPY pyproject.toml . COPY poetry.lock .