From deed12cf66d87a10d121e81f28c30c6b62de1263 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 2 Feb 2026 12:33:46 -0600 Subject: [PATCH] Fix ty version reporting in Docker distributions (#2702) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2698 ``` ❯ docker run --rm ty-test version ty 0.0.14 ``` --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 93474d9..d1d1273 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,7 @@ RUN rustup target add $(cat rust_target.txt) COPY ruff/crates crates COPY ruff/Cargo.toml Cargo.toml COPY ruff/Cargo.lock Cargo.lock +COPY dist-workspace.toml ../dist-workspace.toml RUN cargo zigbuild --bin ty --target $(cat rust_target.txt) --release RUN cp target/$(cat rust_target.txt)/release/ty /ty # TODO: Optimize binary size, with a version that also works when cross compiling