Skip to content

Instantly share code, notes, and snippets.

@tiye
Created July 29, 2024 07:08
Show Gist options
  • Save tiye/b8a55623ed185a729eb0336a54ba290d to your computer and use it in GitHub Desktop.
Save tiye/b8a55623ed185a729eb0336a54ba290d to your computer and use it in GitHub Desktop.
Trunk rs image. requires Ubuntu for dylibs
FROM rust:1.80
RUN wget -qO- https://github.com/trunk-rs/trunk/releases/download/v0.20.2/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
RUN rustup target add wasm32-unknown-unknown
RUN mv trunk /usr/local/bin/
COPY config.toml /usr/local/cargo/config
RUN trunk --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment