Renovator Bot
1f543c8967
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [caddyserver/caddy](https://github.com/caddyserver/caddy) | patch | `v2.4.0` -> `v2.4.1` | --- ### Release Notes <details> <summary>caddyserver/caddy</summary> ### [`v2.4.1`](https://github.com/caddyserver/caddy/releases/v2.4.1) [Compare Source](https://github.com/caddyserver/caddy/compare/v2.4.0...v2.4.1) A small patch release that contains a few noncritical but pleasant fixes (unless you're using `/id/` endpoints in the admin API; then you should definitely get this update). #### Changelog [`7f26a6b`](https://github.com/caddyserver/caddy/commit/7f26a6b3) admin: Reinstate internal redirect for /id/ requests [`b82db99`](https://github.com/caddyserver/caddy/commit/b82db994) caddyfile: Add parse error on site address with trailing `{` ([#​4163](https://github.com/caddyserver/caddy/issues/4163)) [`2aefe15`](https://github.com/caddyserver/caddy/commit/2aefe156) cmd: upgrade: inherit the permissions of the original executable ([#​4160](https://github.com/caddyserver/caddy/issues/4160)) [`dbe164d`](https://github.com/caddyserver/caddy/commit/dbe164d9) httpcaddyfile: Fix automation policy consolidation again (fix [#​4161](https://github.com/caddyserver/caddy/issues/4161)) [`e3c369d`](https://github.com/caddyserver/caddy/commit/e3c369d4) logging: Implement dial timeout for net writer (fix [#​4083](https://github.com/caddyserver/caddy/issues/4083)) ([#​4172](https://github.com/caddyserver/caddy/issues/4172)) [`aef8d4d`](https://github.com/caddyserver/caddy/commit/aef8d4de) reverseproxy: Set the headers in the replacer before `handle_response` ([#​4165](https://github.com/caddyserver/caddy/issues/4165)) </details> --- ### Configuration 📅 **Schedule**: 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, check this box. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: docker/link-validator#31 Co-authored-by: Renovator Bot <renovator@rknet.org> Co-committed-by: Renovator Bot <renovator@rknet.org>
43 lines
1.7 KiB
Docker
43 lines
1.7 KiB
Docker
FROM node:lts-alpine3.13@sha256:efadbdd1ef5f84a93729185767b132606f211a98921d2f30464550a6e5f62437
|
|
|
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
|
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
|
LABEL org.opencontainers.image.title="link-validator"
|
|
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/link-validator"
|
|
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/link-validator"
|
|
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/link-validator"
|
|
|
|
ARG BUILD_VERSION
|
|
# renovate: datasource=npm depName=broken-link-checker
|
|
ENV BLC_VERSION="${BUILD_VERSION:-0.7.8}"
|
|
# renovate: datasource=github-releases depName=caddyserver/caddy
|
|
ENV CADDY_VERSION="${CADDY_VERSION:-v2.4.1}"
|
|
|
|
ENV LINK_VALIDATOR_BASE_DIR=/drone/src \
|
|
LINK_VALIDATOR_SERVER_PORT=80 \
|
|
FORCE_COLOR=true \
|
|
NPM_CONFIG_LOGLEVEL=error
|
|
|
|
COPY overlay/ /
|
|
|
|
RUN echo "Installing requirements ..." && \
|
|
apk --update add --virtual .build-deps curl && \
|
|
curl -sSL "https://github.com/caddyserver/caddy/releases/download/${CADDY_VERSION}/caddy_${CADDY_VERSION##v}_linux_amd64.tar.gz" | tar xz -C /usr/local/bin caddy && \
|
|
chmod 755 /usr/local/bin/caddy && \
|
|
BLC_VERSION="${BLC_VERSION##v}" && \
|
|
BLC_MAJOR="${BLC_VERSION%%.*}" && \
|
|
if [ -z "${BLC_MAJOR//[0-9]}" ] && [ -n "$BLC_MAJOR" ]; then \
|
|
echo "Installing link-checker version '$BLC_VERSION' ..." && \
|
|
npm install -g broken-link-checker@"$BLC_VERSION"; \
|
|
else \
|
|
echo "Installing latest link-checker ..." && \
|
|
npm install -g broken-link-checker; \
|
|
fi && \
|
|
apk del .build-deps && \
|
|
rm -rf /var/cache/apk/* && \
|
|
rm -rf /tmp/*
|
|
|
|
USER root
|
|
CMD []
|
|
ENTRYPOINT ["/bin/link-validator"]
|