markdownlint-cli/Dockerfile
Renovator Bot 098d588d50
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(deps): update dependency markdownlint-cli to v0.32.2 (#95)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) | patch | `0.32.1` -> `0.32.2` |

---

### Release Notes

<details>
<summary>igorshubovych/markdownlint-cli</summary>

### [`v0.32.2`](https://github.com/igorshubovych/markdownlint-cli/releases/tag/v0.32.2)

[Compare Source](https://github.com/igorshubovych/markdownlint-cli/compare/v0.32.1...v0.32.2)

-   Update `markdownlint` dependency to `0.26.2`
    -   Improve `MD037`/`MD051`/`MD053`
-   Update all dependencies via `Dependabot`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTkuNSIsInVwZGF0ZWRJblZlciI6IjMyLjE1OS41In0=-->

Reviewed-on: docker/markdownlint-cli#95
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-08-22 09:29:34 +02:00

34 lines
1.3 KiB
Docker

FROM node:lts-alpine3.15@sha256:a60b681e1c28f60ea63f8394dea5384c69bdc464b9655e880f74aafaa5945665
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="markdownlint-cli"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/markdownlint-cli"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/markdownlint-cli"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/markdownlint-cli"
ARG BUILD_VERSION
# renovate: datasource=npm depName=markdownlint-cli
ENV MARKDOWNLINT_VERSION="${BUILD_VERSION:-0.32.2}"
ENV FORCE_COLOR=true \
NPM_CONFIG_LOGLEVEL=error
COPY overlay/ /
RUN MARKDOWNLINT_VERSION="${MARKDOWNLINT_VERSION##v}" && \
MARKDOWNLINT_MAJOR="${MARKDOWNLINT_VERSION%%.*}" && \
if [ -z "${MARKDOWNLINT_MAJOR//[0-9]}" ] && [ -n "$MARKDOWNLINT_MAJOR" ]; then \
echo "Installing markdownlint-cli version '$MARKDOWNLINT_VERSION' ..." && \
npm install -g markdownlint-cli@"$MARKDOWNLINT_VERSION"; \
else \
echo "Installing latest markdownlint-cli ..." && \
npm install -g markdownlint-cli; \
fi && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/*
USER root
CMD []
ENTRYPOINT ["/bin/markdownlint-cli"]