This repository has been archived on 2023-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
link-validator/Dockerfile
Renovator Bot 6c04433d68
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): update dependency caddyserver/caddy to v2.4.4 (#36)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [caddyserver/caddy](https://github.com/caddyserver/caddy) | patch | `v2.4.3` -> `v2.4.4` |

---

### Release Notes

<details>
<summary>caddyserver/caddy</summary>

### [`v2.4.4`](https://github.com/caddyserver/caddy/releases/v2.4.4)

[Compare Source](https://github.com/caddyserver/caddy/compare/v2.4.3...v2.4.4)

This release contains numerous bug fixes, updated dependencies, and QoL improvements.

Thanks to all contributors, and a special thanks to [@&#8203;francislavoie](https://github.com/francislavoie) and [@&#8203;Mohammed90](https://github.com/Mohammed90) for their dedication in helping to maintain the project and help others.

#### Changelog

[`0bdb8aa`](https://github.com/caddyserver/caddy/commit/0bdb8aa8) acmeserver: Don't set host for directory links by default
[`2de7e14`](https://github.com/caddyserver/caddy/commit/2de7e14e) acmeserver: Trim slashes from path prefix
[`c131339`](https://github.com/caddyserver/caddy/commit/c131339c) admin: Implement load_interval to pull config on a timer ([#&#8203;4246](https://github.com/caddyserver/caddy/issues/4246))
[`a10910f`](https://github.com/caddyserver/caddy/commit/a10910f3) admin: Sync server variables (fix [#&#8203;4260](https://github.com/caddyserver/caddy/issues/4260)) ([#&#8203;4274](https://github.com/caddyserver/caddy/issues/4274))
[`51f125b`](https://github.com/caddyserver/caddy/commit/51f125bd) caddyfile: Better error message for missing site block braces ([#&#8203;4301](https://github.com/caddyserver/caddy/issues/4301))
[`d74913f`](https://github.com/caddyserver/caddy/commit/d74913f8) caddyfile: Error on invalid site addresses containing comma ([#&#8203;4302](https://github.com/caddyserver/caddy/issues/4302))
[`b6f5125`](https://github.com/caddyserver/caddy/commit/b6f51254) caddyfile: keep error chain info in Dispenser.Errf ([#&#8203;4233](https://github.com/caddyserver/caddy/issues/4233))
[`1c6c771`](https://github.com/caddyserver/caddy/commit/1c6c7714) caddyhttp: Fix edgecase with auto HTTP->HTTPS logic ([#&#8203;4243](https://github.com/caddyserver/caddy/issues/4243))
[`42e140b`](https://github.com/caddyserver/caddy/commit/42e140b1) caddyhttp: Fix incorrect determination of gRPC protocol ([#&#8203;4236](https://github.com/caddyserver/caddy/issues/4236))
[`c1cd192`](https://github.com/caddyserver/caddy/commit/c1cd192e) caddyhttp: Updated the documentation for MatchQuery ([#&#8203;4295](https://github.com/caddyserver/caddy/issues/4295))
[`81e5318`](https://github.com/caddyserver/caddy/commit/81e53180) caddytls: Remove "IssuerRaw" field
[`ce5a45d`](https://github.com/caddyserver/caddy/commit/ce5a45db) cmd: Fix paths when using an env file ([#&#8203;4296](https://github.com/caddyserver/caddy/issues/4296))
[`68c5c71`](https://github.com/caddyserver/caddy/commit/68c5c716) cmd: New `add-package` and `remove-package` commands ([#&#8203;4226](https://github.com/caddyserver/caddy/issues/4226))
[`9e333c3`](https://github.com/caddyserver/caddy/commit/9e333c39) cmd: use net.ErrClosed for matching returned error ([#&#8203;4289](https://github.com/caddyserver/caddy/issues/4289))
[`1b1e625`](https://github.com/caddyserver/caddy/commit/1b1e625c) core: Unix ns and Unix ms time placeholders ([#&#8203;4280](https://github.com/caddyserver/caddy/issues/4280))
[`69c9144`](https://github.com/caddyserver/caddy/commit/69c91448) encode: Tweak compression settings ([#&#8203;4215](https://github.com/caddyserver/caddy/issues/4215))
[`4245ceb`](https://github.com/caddyserver/caddy/commit/4245ceb6) fileserver: Add `disable_canonical_uris` Caddyfile subdirective ([#&#8203;4222](https://github.com/caddyserver/caddy/issues/4222))
[`191dc86`](https://github.com/caddyserver/caddy/commit/191dc86f) fileserver: Clarify docs about canonicalization
[`9e16e80`](https://github.com/caddyserver/caddy/commit/9e16e80f) fileserver: Fix browse name_dir_first sorting ([#&#8203;4218](https://github.com/caddyserver/caddy/issues/4218))
[`885a9aa`](https://github.com/caddyserver/caddy/commit/885a9aaf) go.mod: Update dependencies (close [#&#8203;4216](https://github.com/caddyserver/caddy/issues/4216))
[`f43fd6f`](https://github.com/caddyserver/caddy/commit/f43fd6f3) go.mod: Upgrade CertMagic to v0.14.4
[`84b906a`](https://github.com/caddyserver/caddy/commit/84b906a2) go.mod: Upgrade some dependencies
[`ab32440`](https://github.com/caddyserver/caddy/commit/ab32440b) httpcaddyfile: Add shortcut for proxy hostport placeholder ([#&#8203;4263](https://github.com/caddyserver/caddy/issues/4263))
[`b3d35a4`](https://github.com/caddyserver/caddy/commit/b3d35a49) httpcaddyfile: Don't put localhost in public APs (fix [#&#8203;4220](https://github.com/caddyserver/caddy/issues/4220))
[`569ecdb`](https://github.com/caddyserver/caddy/commit/569ecdbd) httpcaddyfile: Ensure hosts to skip for logs can always be collected ([#&#8203;4258](https://github.com/caddyserver/caddy/issues/4258))
[`bfbc459`](https://github.com/caddyserver/caddy/commit/bfbc459c) httpcaddyfile: Improve unrecognized directive errors
[`403732c`](https://github.com/caddyserver/caddy/commit/403732c4) httpcaddyfile: Reorder some directives ([#&#8203;4311](https://github.com/caddyserver/caddy/issues/4311))
[`46d99ab`](https://github.com/caddyserver/caddy/commit/46d99aba) logging: Add missing interface guards for replace filter ([#&#8203;4244](https://github.com/caddyserver/caddy/issues/4244))
[`124ba1b`](https://github.com/caddyserver/caddy/commit/124ba1ba) logging: Prep for `common_log` removal ([#&#8203;4149](https://github.com/caddyserver/caddy/issues/4149))
[`8a974a4`](https://github.com/caddyserver/caddy/commit/8a974a4f) logging: Warn for deprecated single_field encoder
[`e6c29ce`](https://github.com/caddyserver/caddy/commit/e6c29ce0) reverseproxy: Incorporate latest proxy changes from stdlib ([#&#8203;4266](https://github.com/caddyserver/caddy/issues/4266))
[`d882211`](https://github.com/caddyserver/caddy/commit/d8822110) reverseproxy: Keep path to unix socket as dial address ([#&#8203;4232](https://github.com/caddyserver/caddy/issues/4232))
[`f70a757`](https://github.com/caddyserver/caddy/commit/f70a7578) reverseproxy: Remove redundant flushing ([#&#8203;4299](https://github.com/caddyserver/caddy/issues/4299))

</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#36
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-09-01 11:01:46 +02:00

43 lines
1.7 KiB
Docker

FROM node:lts-alpine3.13@sha256:5365f4c015306cc5184e9ab5f9fd70d165e42ce718372ac09e80bd220bd0509c
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.4}"
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"]