From 24b5b62af5a37c77646697d520c5f408db445d3c Mon Sep 17 00:00:00 2001 From: Jakob Date: Fri, 21 Jul 2023 20:12:51 +0200 Subject: [PATCH] fix: adapt to new devpod artifact name (#339) --- Containerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index d885104afb9..30b57771815 100644 --- a/Containerfile +++ b/Containerfile @@ -78,8 +78,7 @@ RUN chmod +x ./kind RUN mv ./kind /usr/bin/kind # Install DevPod -RUN wget https://github.com/loft-sh/devpod/releases/latest/download/DevPod_linux_x86_64.rpm -O /tmp/devpod.rpm && \ - rpm-ostree install /tmp/devpod.rpm && \ +RUN rpm-ostree install $(curl https://api.github.com/repos/loft-sh/devpod/releases/latest | jq -r '.assets[] | select(.name| test(".*x86_64.rpm$")).browser_download_url') && \ wget https://github.com/loft-sh/devpod/releases/latest/download/devpod-linux-amd64 -O /tmp/devpod && \ install -c -m 0755 /tmp/devpod /usr/bin