fix: typst binary ships at archive root, not bin/

This commit is contained in:
TSYS Group COO
2026-09-07 16:59:29 -05:00
parent d3a4cbe7e9
commit 640a029cac
+1 -1
View File
@@ -63,7 +63,7 @@ RUN apt-get update \
# --- layer 4c: single-binary downloads (rust/go) ------------------------ # --- layer 4c: single-binary downloads (rust/go) ------------------------
RUN curl -fsSL "https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-x86_64-unknown-linux-musl.tar.xz" \ RUN curl -fsSL "https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-x86_64-unknown-linux-musl.tar.xz" \
| tar xJ -C /tmp \ | tar xJ -C /tmp \
&& mv /tmp/typst-x86_64-unknown-linux-musl/bin/typst /usr/local/bin/typst \ && mv /tmp/typst-x86_64-unknown-linux-musl/typst /usr/local/bin/typst \
&& curl -fsSL "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" \ && curl -fsSL "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" \
| tar xz -C /tmp hugo \ | tar xz -C /tmp hugo \
&& mv /tmp/hugo /usr/local/bin/hugo \ && mv /tmp/hugo /usr/local/bin/hugo \