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