aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-09-03 17:51:20 -0700
committerGravatar MarkKoz <[email protected]>2019-09-03 17:51:20 -0700
commitfce148f85b5ba02b3ddb80c41c69b17ad3f11a5f (patch)
tree58397dd43372618c46cfd494277d3815e7d53565
parentMerge pull request #33 from python-discord/ci (diff)
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.
-rw-r--r--docker/base.Dockerfile2
1 files changed, 1 insertions, 1 deletions
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