Skip to content

Commit

Permalink
Now using the mdBook fork from rust-lang/mdBook#898.
Browse files Browse the repository at this point in the history
  • Loading branch information
remexre committed May 10, 2019
1 parent d8e0b8a commit 33242a9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM rust:latest

RUN curl -L 'https://github.com/rust-lang-nursery/mdBook/releases/download/v0.2.1/mdbook-v0.2.1-x86_64-unknown-linux-musl.tar.gz' | tar zxC /tmp && \
curl -L 'https://github.com/casey/just/releases/download/v0.4.2/just-v0.4.2-x86_64-unknown-linux-musl.tar.gz' | tar zxC /tmp && \
RUN curl -L 'https://github.com/casey/just/releases/download/v0.4.2/just-v0.4.2-x86_64-unknown-linux-musl.tar.gz' | tar zxC /tmp && \
mv /tmp/just /usr/local/bin/just && \
mv /tmp/mdbook /usr/local/bin/mdbook && \
cd /tmp && \
git clone https://github.com/ehuss/mdBook.git --branch update-pulldown-cmark && \
cd mdBook && \
cargo build --release && \
cp target/release/mdbook /usr/local/bin/mdbook && \
apt-get update && \
apt-get install -y --no-install-recommends cmake rsync && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 33242a9

Please sign in to comment.