mirror of
https://github.com/rancher/os.git
synced 2025-07-31 22:47:16 +00:00
Merge pull request #2 from mudler/master
Consume nerdctl and k9s from cos repos
This commit is contained in:
commit
f01f708b37
@ -66,9 +66,6 @@ RUN zypper in -y \
|
||||
vim \
|
||||
which
|
||||
|
||||
RUN curl -L https://github.com/containerd/nerdctl/releases/download/v0.8.3/nerdctl-0.8.3-linux-${ARCH}.tar.gz | tar xvzf - -C /usr/bin nerdctl
|
||||
RUN if [ "$ARCH" = "amd64" ]; then ARCH=x86_64; fi && \
|
||||
curl -L https://github.com/derailed/k9s/releases/download/v0.24.10/k9s_v0.24.10_Linux_${ARCH}.tar.gz | tar xvzf - -C /usr/bin k9s
|
||||
COPY --from=rancherd /usr/bin/rancherd /usr/bin/rancherd
|
||||
|
||||
RUN zypper ar https://download.opensuse.org/repositories/security:/SELinux/openSUSE_Leap_15.3/security:SELinux.repo
|
||||
@ -95,7 +92,9 @@ RUN luet install -y \
|
||||
utils/installer \
|
||||
system/cos-setup \
|
||||
system/immutable-rootfs \
|
||||
system/grub-config
|
||||
system/grub-config \
|
||||
utils/k9s \
|
||||
utils/nerdctl
|
||||
|
||||
COPY files/ /
|
||||
RUN mkinitrd
|
||||
|
Loading…
Reference in New Issue
Block a user