Skip to content

Commit c706030

Browse files
authored
Merge pull request #28 from jandubois/remove-cri-dockerd
Remove cri-dockerd from the distro
2 parents 77264e3 + 4e3bf55 commit c706030

7 files changed

Lines changed: 0 additions & 51 deletions

File tree

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/g
2020
FROM registry.opensuse.org/opensuse/bci/kiwi:10 AS builder
2121
ARG type=qcow2
2222
ARG NERDCTL_VERSION
23-
ARG CRI_DOCKERD_VERSION
2423
RUN --mount=type=cache,target=/var/cache/zypp \
2524
zypper --non-interactive install parted
2625
WORKDIR /build

Makefile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ root/build/nerdctl-$(NERDCTL_VERSION).tgz:
1515
wget -O "$@" \
1616
"https://github.com/$(NERDCTL_REPO)/releases/download/${NERDCTL_VERSION}/nerdctl-full-${NERDCTL_VERSION:v%=%}-linux-$(GOARCH).tar.gz"
1717

18-
DOWNLOADS += root/build/cri-dockerd-$(CRI_DOCKERD_VERSION).tgz
19-
root/build/cri-dockerd-$(CRI_DOCKERD_VERSION).tgz: root/build/cri-dockerd-$(CRI_DOCKERD_VERSION).LICENSE
20-
wget -O "$@" \
21-
"https://github.com/$(CRI_DOCKERD_REPO)/releases/download/${CRI_DOCKERD_VERSION}/cri-dockerd-${CRI_DOCKERD_VERSION:v%=%}.$(GOARCH).tgz"
22-
touch -r $@ $<
23-
24-
DOWNLOADS += root/build/cri-dockerd-$(CRI_DOCKERD_VERSION).LICENSE
25-
root/build/cri-dockerd-$(CRI_DOCKERD_VERSION).LICENSE:
26-
wget -O "$@" \
27-
"https://raw.githubusercontent.com/$(CRI_DOCKERD_REPO)/$(CRI_DOCKERD_VERSION)/LICENSE"
28-
2918
IMAGE_FILES := \
3019
root/build/versions.env \
3120
$(filter-out .gitignore Makefile README.md root/build/% distro.%, $(shell find * -type f))

Makefile.docker

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ GO_ARCH := $(ARCH:x86_64=amd64)
1111
GO_ARCH := $(GO_ARCH:aarch64=arm64)
1212

1313
INPUTS += root/build/nerdctl-$(NERDCTL_VERSION).tgz
14-
INPUTS += root/build/cri-dockerd-$(CRI_DOCKERD_VERSION).tgz
15-
INPUTS += root/build/cri-dockerd-$(CRI_DOCKERD_VERSION).LICENSE
1614

1715
rancher-desktop-distro.%.qcow2: config.kiwi config.sh ${INPUTS}
1816
kiwi --debug --profile=lima system build \

config.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ exec /usr/local/libexec/nerdctl/nerdctl "\$@"
5252
EOF
5353
chmod 755 /usr/local/bin/nerdctl
5454

55-
# Install cri-dockerd
56-
tar --extract --verbose --file "build/cri-dockerd-${CRI_DOCKERD_VERSION}.tgz" \
57-
--directory /usr/local/bin/ --strip-components=1 cri-dockerd/cri-dockerd
58-
# Copy the LICENSE file for cri-dockerd
59-
mkdir -p /usr/share/doc/cri-dockerd/
60-
cp "build/cri-dockerd-${CRI_DOCKERD_VERSION}.LICENSE" /usr/share/doc/cri-dockerd/LICENSE
61-
6255
# Remove the build inputs
6356
rm -rf /build/
6457

root/build/versions.env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44

55
NERDCTL_REPO=containerd/nerdctl
66
NERDCTL_VERSION=v2.0.3
7-
CRI_DOCKERD_REPO=Mirantis/cri-dockerd
8-
CRI_DOCKERD_VERSION=v0.3.15

root/usr/local/lib/systemd/system/cri-dockerd.service

Lines changed: 0 additions & 15 deletions
This file was deleted.

root/usr/local/lib/systemd/system/cri-dockerd.service.d/network-namespace.conf

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)