Skip to content

Commit

Permalink
Merge pull request #10 from carapace-sh/mdbook-git
Browse files Browse the repository at this point in the history
mdbook: added git
  • Loading branch information
rsteube authored Jan 20, 2025
2 parents 0078d19 + b165d07 commit 03d767c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mdbook/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM ghcr.io/carapace-sh/base
ARG version=0.4.43

RUN apt-get update && apt-get install -y unzip
RUN apt-get update && apt-get install -y git unzip

RUN git config --system safe.directory '*'

RUN curl -L "https://github.com/rust-lang/mdBook/releases/download/v${version}/mdbook-v${version}-x86_64-unknown-linux-gnu.tar.gz" | tar -xvz mdbook \
&& mv mdbook /usr/local/bin/
Expand Down

0 comments on commit 03d767c

Please sign in to comment.