remove ctrbuilder

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2025-11-03 19:47:26 -07:00
parent 3969a2fe40
commit 54912bf90b
1 changed files with 11 additions and 11 deletions

View File

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