Skip to content

Commit

Permalink
Move to debian/bullseye:slim as base image (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
mre authored Oct 26, 2021
1 parent 368d844 commit b48292b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b48292b

Please sign in to comment.