An open API service indexing awesome lists of open source software.

https://github.com/norberttech/md-link-linter-docker

🐳 Docker image for MD Link Linter
https://github.com/norberttech/md-link-linter-docker

Last synced: 3 months ago
JSON representation

🐳 Docker image for MD Link Linter

Awesome Lists containing this project

README

          

# Docker image for [MD Link Linter](https://github.com/norzechowicz/md-link-linter)

Simple command line tool that iterates recursively over all folders in selected location, looking for markdown
files and validating links in those files.

## Supported tags

- `latest`
- `0.0.11`
- `0.0.10`
- `0.0.9`

Each tag matches [MD Link Linter](https://github.com/norzechowicz/md-link-linter) release. Latest represents unreleased version.

### Install

Install the container:

```
docker pull norberttech/md-link-linter
```

### Usage

Display help:
```bash
docker run -t --rm norberttech/md-link-linter --help
```

Validate markdown files in a current folder:
```bash
docker run -t --rm -v $PWD:/app norberttech/md-link-linter --exclude=vendor --exclude=node_modules .
```

### Building Image

```bash
docker buildx create --name builder --use

docker buildx build -t norberttech/md-link-linter:latest . --push --no-cache --progress=plain --build-arg MD_LINK_LINT_VERSION=1.x-dev --platform=linux/amd64,linux/arm64
docker buildx build -t norberttech/md-link-linter:0.3.0 . --push --no-cache --progress=plain --build-arg MD_LINK_LINT_VERSION=0.3.0 --platform=linux/amd64,linux/arm64
```