Added some initial daemonsets
This commit is contained in:
@@ -26,7 +26,6 @@ RUN mkdir -p /out/rootfs/usr/local/bin/
|
||||
COPY packages/kubernetes/kubelet-${KUBE_VERSION} /out/rootfs/usr/local/bin/kubelet
|
||||
COPY packages/kubernetes/kubeadm-${KUBE_VERSION} /out/rootfs/usr/local/bin/kubeadm
|
||||
COPY packages/kubernetes/kubectl-${KUBE_VERSION} /out/rootfs/usr/local/bin/kubectl
|
||||
# COPY clitools/bin/ctl-linux-${ALPINE_ARCH}-${TAG} /out/rootfs/usr/local/bin/ctl
|
||||
RUN chmod +x /out/rootfs/usr/local/bin/*
|
||||
|
||||
COPY alpine/rootfs-extra ./rootfs-extra
|
||||
|
||||
@@ -48,12 +48,13 @@ ARG BUILD_TAG
|
||||
|
||||
COPY alpine/*.sh ./
|
||||
COPY initramfs/*.sh ./
|
||||
COPY out/rootfs /out/rootfs
|
||||
COPY initramfs/rootfs-extra ./rootfs-extra
|
||||
COPY out/rootfs.tar.gz ./
|
||||
COPY out/build-info ./rootfs-extra/etc/build-info
|
||||
|
||||
WORKDIR /out/initramfs
|
||||
RUN /build/build-rootfs.sh
|
||||
RUN tar zxf /build/rootfs.tar.gz -C "/out" \
|
||||
&& /build/build-rootfs.sh
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /out/initramfs.cpio.gz /initramfs.cpio.gz
|
||||
|
||||
Reference in New Issue
Block a user