From 151dd4a1a816620f7cfd47fa05c2ae7314c83ec0 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Mon, 3 Aug 2026 20:51:53 -0400 Subject: [PATCH] fix: Docker requires pre-built Linux binary (cannot cross-compile on Windows) --- docker_install.v | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/docker_install.v b/docker_install.v index 1905836..19ac230 100644 --- a/docker_install.v +++ b/docker_install.v @@ -50,21 +50,13 @@ state: println(' Wrote: ${target_dir}/dashboard.html') } - // Copy Dockerfile and build Linux binary + // Dockerfile for reference (binary must be built separately) if os.exists('Dockerfile') { os.cp('Dockerfile', '${target_dir}/Dockerfile') or {} println(' Wrote: ${target_dir}/Dockerfile') } - // Cross-compile Linux binary - println(' Building Linux binary (v -os linux)...') - build_result := os.execute('v -os linux -o ${target_dir}/ntfy-bridge .') - if build_result.exit_code != 0 { - println(' Warning: Could not cross-compile Linux binary.') - println(' ${build_result.output}') - println(' You will need a Linux binary named "ntfy-bridge" in ${target_dir}/') - } else { - println(' Built: ${target_dir}/ntfy-bridge') - } + println(' Note: Place a Linux binary named "ntfy-bridge" in ${target_dir}/ to build.') + println(' Build: v -os linux -o ${target_dir}/ntfy-bridge . (requires Linux or WSL)') // docker-compose.yml mut compose := 'services: