From ddb685884078502fab6de3be29caf6a4b3336cd3 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Wed, 16 Jun 2021 12:02:05 +0200 Subject: [PATCH] Consume nerdctl and k9s from cos repos Signed-off-by: Ettore Di Giacinto --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 03f9f89e..65337254 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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