From c3fccaf885c2487942b839078b4766df046514bb Mon Sep 17 00:00:00 2001 From: Louis <contact@louiscap.co> Date: Tue, 9 Aug 2022 21:28:56 +0000 Subject: [PATCH] Prebuilt trunk binary requires different glibc ver --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38e6a12..12033da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,5 @@ RUN wget https://lab.lcr.gr/microhacks/flit/-/jobs/artifacts/trunk/raw/target/re 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 +RUN cargo install --locked trunk && \ + rm -rf ~/.cargo/registry/{cache,src} -- GitLab