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 <adam@adalogics.com>

Signed-off-by: AdamKorcz <adam@adalogics.com>
This commit is contained in:
AdamKorcz 2022-11-01 11:40:04 +00:00 committed by GitHub
parent d0e871d13e
commit 9b40d674b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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