File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2018
3
+ Copyright (c) 2018 - 2021
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1
- FROM rust:1.47.0
1
+ FROM rust:1.49.0-slim
2
2
3
- ENV MDBOOK_VERSION=0.1.8
3
+ ARG MDBOOK_GIT_REPO="https://github.com/rust-lang-ja/mdBook"
4
+
5
+ # mdbook-0.1 branch of the above repository has a cherry-picked commit to address CVE-2020-26297:
6
+ # https://github.com/rust-lang-ja/mdBook/commit/3bb522d8f10e890f9dd6f0250776584810a78cfe
7
+ ARG MDBOOK_GIT_BRANCH="mdbook-0.1"
4
8
5
9
# Install CircleCI requirements
6
10
RUN set -eux; \
@@ -10,7 +14,7 @@ RUN set -eux; \
10
14
11
15
# Install mdBook and sd
12
16
RUN set -eux; \
13
- cargo install --force mdbook --vers "^$MDBOOK_VERSION" ; \
17
+ cargo install --force mdbook --git ${MDBOOK_GIT_REPO} --branch ${MDBOOK_GIT_BRANCH} ; \
14
18
cargo install --force sd; \
15
19
rustc --version; \
16
20
mdbook --version; \
You can’t perform that action at this time.
0 commit comments