From 9b40d674b2abe83a41df8ef121b7e949ffea61f1 Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Tue, 1 Nov 2022 11:40:04 +0000 Subject: [PATCH] containerd: don't do shallow clone (#8902) The repo is very small and Containerd needs to access older, stable versions ad-hoc. Signed-off-by: AdamKorcz Signed-off-by: AdamKorcz --- projects/containerd/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/containerd/Dockerfile b/projects/containerd/Dockerfile index f7ba7a33e..bed8404e0 100644 --- a/projects/containerd/Dockerfile +++ b/projects/containerd/Dockerfile @@ -17,6 +17,8 @@ FROM gcr.io/oss-fuzz-base/base-builder-go RUN apt-get update && apt-get install -y btrfs-progs libc-dev pkg-config libseccomp-dev gcc wget libbtrfs-dev RUN git clone --depth 1 https://github.com/containerd/containerd -RUN git clone --depth 1 https://github.com/AdamKorcz/instrumentation +RUN git clone https://github.com/AdamKorcz/instrumentation \ + && cd $SRC/instrumentation \ + && git checkout cca41747087a403a1dfcbdf064e52d3e073d174f COPY build.sh $SRC/ WORKDIR $SRC/containerd