From 1bbb37479a9bb79f72f5a809035aac76da62243e Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 8 Feb 2024 16:39:42 +0100 Subject: [PATCH] try to install the link checker in CI --- automation/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/automation/Dockerfile b/automation/Dockerfile index b046564..3a0a6e0 100644 --- a/automation/Dockerfile +++ b/automation/Dockerfile @@ -15,7 +15,11 @@ RUN rustup install nightly && \ rustup component add rustfmt clippy # RUN cargo install mdbook --no-default-features --features search --vers "^0.4" --locked -RUN curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.34/mdbook-v0.4.34-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory /usr/local/bin +RUN curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory /usr/local/bin +RUN curl -L https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip && \ + unzip mdbook-linkcheck.zip && \ + chmod +x mdbook-linkcheck && \ + cp mdbook-linkcheck /usr/local/bin # SSH stuff to allow deployment to doc server RUN adduser --uid 114 jenkins