From 0e038f8fc8d98da0f767cd5bc497d06a5421ff9d Mon Sep 17 00:00:00 2001 From: Dave Jansen Date: Tue, 2 Dec 2025 19:30:55 +0900 Subject: [PATCH] Switch to downloading the latest version of `host-spawn` --- Containerfile | 3 --- build_files/build.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index 69048da..15d8014 100644 --- a/Containerfile +++ b/Containerfile @@ -1,5 +1,4 @@ ARG FEDORA_BASE=43 -ARG HOST_SPAWN=v1.6.2 # Allow build scripts to be referenced without being copied into the final image FROM scratch AS ctx @@ -11,8 +10,6 @@ COPY cosign.pub /cosign.pub # Base Image FROM registry.fedoraproject.org/fedora-toolbox:$FEDORA_BASE -ENV HOST_SPAWN=$HOST_SPAWN - ### MODIFICATIONS ## make modifications desired in your image and install packages by modifying the build.sh script ## the following RUN directive does all the things required to run "build.sh" as recommended. diff --git a/build_files/build.sh b/build_files/build.sh index 629d602..fc72cdf 100755 --- a/build_files/build.sh +++ b/build_files/build.sh @@ -43,7 +43,7 @@ dnf5 copr enable -y dejan/lazygit dnf5 install -y lazygit # Install `host-spawn` -wget "https://github.com/1player/host-spawn/releases/download/$HOST_SPAWN/host-spawn-x86_64" +wget https://github.com/1player/host-spawn/releases/latest/download/host-spawn-x86_64 chmod +x host-spawn-x86_64 mv host-spawn-x86_64 /usr/local/bin/host-spawn