From fce148f85b5ba02b3ddb80c41c69b17ad3f11a5f Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Tue, 3 Sep 2019 17:51:20 -0700 Subject: CI: fix NsJail clone in base Docker image Unspecify the depth to make the clone non-shallow again. A depth of 1 was too shallow as it only allowed the latest commit to be cloned. An arbitrary larger depth would still break eventually. The repository is small enough to not warrant a shallow clone anyway. --- docker/base.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/base.Dockerfile b/docker/base.Dockerfile index 993e45d..1edff49 100644 --- a/docker/base.Dockerfile +++ b/docker/base.Dockerfile @@ -10,7 +10,7 @@ RUN apk add --no-cache --update \ linux-headers~=4.19 \ make~=4.2 \ protobuf-dev~=3.6 -RUN git clone --depth=1 https://github.com/google/nsjail.git /nsjail \ +RUN git clone https://github.com/google/nsjail.git /nsjail \ && cd /nsjail \ && git checkout 0b1d5ac03932c140f08536ed72b4b58741e7d3cf WORKDIR /nsjail -- cgit v1.2.3