File tree 2 files changed +8
-2
lines changed
iso/minikube-iso/package/buildkit-bin
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
- /run/buildkit-bin 0770 root buildkit
1
+ d /run/buildkit-bin 0770 root buildkit
Original file line number Diff line number Diff line change @@ -146,10 +146,16 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/' | sed 's/
146
146
&& curl -sSL --retry 5 --output /tmp/buildkit.tgz "${BUILDKIT_BASE_URL}/buildkit-${BUILDKIT_VERSION}.linux-${ARCH}.tar.gz" \
147
147
&& tar -C /usr/local -xzvf /tmp/buildkit.tgz \
148
148
&& rm -rf /tmp/buildkit.tgz \
149
+ && mkdir -p /usr/local/lib/systemd/system \
150
+ && curl -L --retry 5 --output /usr/local/lib/systemd/system/buildkit.service "https://raw.githubusercontent.com/moby/buildkit/${BUILDKIT_VERSION}/examples/systemd/buildkit.service" \
151
+ && curl -L --retry 5 --output /usr/local/lib/systemd/system/buildkit.socket "https://raw.githubusercontent.com/moby/buildkit/${BUILDKIT_VERSION}/examples/systemd/buildkit.socket" \
152
+ && mkdir -p /etc/buildkit \
153
+ && echo "[worker.oci]\n enabled = false\n [worker.containerd]\n enabled = true\n namespace = \" k8s.io\" " > /etc/buildkit/buildkitd.toml \
149
154
&& chmod 755 /usr/local/bin/buildctl \
150
155
&& chmod 755 /usr/local/bin/buildkit-runc \
151
156
&& chmod 755 /usr/local/bin/buildkit-qemu-* \
152
- && chmod 755 /usr/local/bin/buildkitd
157
+ && chmod 755 /usr/local/bin/buildkitd \
158
+ && systemctl enable buildkit.socket
153
159
154
160
# Install cri-o/podman dependencies:
155
161
RUN sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
You can’t perform that action at this time.
0 commit comments