From 00665e2b10f04cffba282ecbfeab53b528a90b35 Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Fri, 23 Apr 2021 14:51:05 +0300 Subject: [PATCH] Update containerd test to match go modules off Signed-off-by: Avi Deitcher --- test/pkg/containerd/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/pkg/containerd/Dockerfile b/test/pkg/containerd/Dockerfile index 42c8fe6ab..6171b56b6 100644 --- a/test/pkg/containerd/Dockerfile +++ b/test/pkg/containerd/Dockerfile @@ -24,7 +24,9 @@ RUN cp /out/usr/share/zoneinfo/UTC /out/etc/localtime FROM scratch COPY --from=mirror /out/ / COPY --from=mirror /go/src/github.com/containerd/containerd /go/src/github.com/containerd/containerd/ -ENV GOPATH=/go + +# containerd 1.4.x does not support go modules; remove GO111MODULE=off when we switch to 1.5.x +ENV GOPATH=/go GO111MODULE=off WORKDIR $GOPATH/src/github.com/containerd/containerd ADD run.sh ./run.sh