mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-04 11:54:46 +00:00
Move to debian/bullseye:slim as base image (#370)
This commit is contained in:
parent
368d844233
commit
b48292be4a
2 changed files with 11 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ RUN rm ./target/release/deps/lychee* \
|
|||
|
||||
# Our production image starts here, which uses
|
||||
# the files from the builder image above.
|
||||
FROM debian:buster-slim
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
|
|
|
|||
11
README.md
11
README.md
|
|
@ -173,6 +173,15 @@ acat -F zip {file.epub} "*.xhtml" "*.html" | lychee -
|
|||
lychee --offline path/to/directory
|
||||
```
|
||||
|
||||
### Docker Usage
|
||||
|
||||
Here's how to mount a local directory into the container and check some input
|
||||
with lychee:
|
||||
|
||||
```sh
|
||||
docker run -v `pwd`:/input lycheeverse/lychee /input/README.md
|
||||
```
|
||||
|
||||
### GitHub token
|
||||
|
||||
Optionally, to avoid getting rate-limited while checking GitHub links, you can
|
||||
|
|
@ -319,7 +328,7 @@ Try one of these links to get started:
|
|||
Lychee is written in Rust. Install [rust-up](https://rustup.rs/) to get started.
|
||||
Begin by making sure the following commands succeed without errors.
|
||||
|
||||
```bash
|
||||
```sh
|
||||
cargo test # runs tests
|
||||
cargo clippy # lints code
|
||||
cargo install cargo-publish-all
|
||||
|
|
|
|||
Loading…
Reference in a new issue