From 54912bf90ba3f656d6b162a8f9cbd026b0a67ade Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Mon, 3 Nov 2025 19:47:26 -0700 Subject: [PATCH] remove ctrbuilder Signed-off-by: Travis Glenn Hansen --- Dockerfile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 901cbec..6819fa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,16 +5,16 @@ ###################### # golang builder ###################### -FROM golang:1.25.3-bookworm AS ctrbuilder - -# /go/containerd/ctr -ADD docker/ctr-mount-labels.diff /tmp -RUN \ - git clone https://github.com/containerd/containerd.git; \ - cd containerd && \ - git checkout v2.0.4 && \ - git apply /tmp/ctr-mount-labels.diff && \ - CGO_ENABLED=0 go build ./cmd/ctr/; +# FROM golang:1.25.3-bookworm AS ctrbuilder +# +# # /go/containerd/ctr +# ADD docker/ctr-mount-labels.diff /tmp +# RUN \ +# git clone https://github.com/containerd/containerd.git; \ +# cd containerd && \ +# git checkout v2.0.4 && \ +# git apply /tmp/ctr-mount-labels.diff && \ +# CGO_ENABLED=0 go build ./cmd/ctr/; ###################### @@ -103,7 +103,7 @@ RUN test $(uname -m) != armv7l || ( \ ) # install ctr -COPY --from=ctrbuilder /go/containerd/ctr /usr/local/bin/ctr +#COPY --from=ctrbuilder /go/containerd/ctr /usr/local/bin/ctr # install node #ENV PATH=/usr/local/lib/nodejs/bin:$PATH