From 7196ce0d6499645454a94f9dfd559cd2504ce0d9 Mon Sep 17 00:00:00 2001 From: Louis <contact@louiscap.co> Date: Tue, 2 Aug 2022 00:49:20 +0000 Subject: [PATCH] Include flit binary, download prebuilt trunk binary --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e8698f9..38e6a12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,4 +34,11 @@ RUN wget https://lab.lcr.gr/microhacks/crunch/-/jobs/artifacts/trunk/raw/target/ chmod +x crunch && \ mv crunch /usr/local/bin/crunch -RUN cargo install --locked trunk +RUN wget https://lab.lcr.gr/microhacks/flit/-/jobs/artifacts/trunk/raw/target/release/flit?job=build-linux && \ + mv 'flit?job=build-linux' flit && \ + chmod +x flit && \ + mv flit /usr/local/bin/flit + +RUN wget -qO- https://github.com/thedodd/trunk/releases/download/v0.16.0/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- \ + && chmod +x trunk \ + && mv trunk /usr/local/bin/trunk -- GitLab