fix: typst binary ships at archive root, not bin/
This commit is contained in:
+1
-1
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user