hugo/Dockerfile
Renovator Bot 2374a6e19b
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(deps): update dependency gohugoio/hugo to v0.85.0 (#7)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.84.1` -> `v0.85.0` |

---

### Release Notes

<details>
<summary>gohugoio/hugo</summary>

### [`v0.85.0`](https://github.com/gohugoio/hugo/releases/v0.85.0)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.4...v0.85.0)

Hugo `0.85.0` is on the smaller side of releases, but the main new thing it brings should be important to those who need it: Poll based watching for file system changes.

Hugo uses [Fsnotify](https://github.com/fsnotify/fsnotify) to provide native file system notifications. This is still the default, but there may situations where this isn't working. The file may not support it (e.g. NFS), or you get the "too many open files" error and cannot or do not want to increase the `ulimit`. Enable polling by passing the `--poll` flag with an interval:

```bash
hugo server --poll 700ms
```

You van even do "long polling" by passing a long interval:

```bash
hugo server --poll 24h
```

This release represents **23 contributions by 6 contributors** to the main Hugo code base.[@&#8203;bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@&#8203;raoulb](https://github.com/raoulb), [@&#8203;jmooring](https://github.com/jmooring), and [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman) for their ongoing contributions.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **1 contributions by 1 contributors**.

Hugo now has:

-   52755+ [stars](https://github.com/gohugoio/hugo/stargazers)
-   431+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
-   370+ [themes](http://themes.gohugo.io/)

#### Enhancements

##### Other

-   Move time notification to after any build errors [04dc469f](04dc469fbd) [@&#8203;jhollowe](https://github.com/jhollowe) [#&#8203;8403](https://github.com/gohugoio/hugo/issues/8403)
-   Log warning for metadata decode error [07919d1c](07919d1ccb) [@&#8203;IveGotNorto](https://github.com/IveGotNorto) [#&#8203;8519](https://github.com/gohugoio/hugo/issues/8519)
-   Make the --poll flag a duration [e31b1d19](e31b1d1946) [@&#8203;bep](https://github.com/bep) [#&#8203;8720](https://github.com/gohugoio/hugo/issues/8720)
-   Regen CLI docs [43a23239](43a23239b2) [@&#8203;bep](https://github.com/bep)
-   Add polling as a fallback to native filesystem events in server watch [24ce98b6](24ce98b6d1) [@&#8203;bep](https://github.com/bep) [#&#8203;8720](https://github.com/gohugoio/hugo/issues/8720)[#&#8203;6849](https://github.com/gohugoio/hugo/issues/6849)[#&#8203;7930](https://github.com/gohugoio/hugo/issues/7930)
-   Bump github.com/yuin/goldmark v1.3.9 [0019d60f](0019d60f67) [@&#8203;bep](https://github.com/bep) [#&#8203;8727](https://github.com/gohugoio/hugo/issues/8727)
-   Add module.import.noMounts config [40dfdd09](40dfdd0952) [@&#8203;bep](https://github.com/bep) [#&#8203;8708](https://github.com/gohugoio/hugo/issues/8708)
-   Use value type for module.Time [3a6dc6d3](3a6dc6d3f4) [@&#8203;bep](https://github.com/bep)
-   Add version time to "hugo config mounts" [6cd2110a](6cd2110ab2) [@&#8203;bep](https://github.com/bep)
-   Add some more info to "hugo config mounts" [6a365c27](6a365c2712) [@&#8203;bep](https://github.com/bep)
-   Update to Minify v2.9.18 [d9bdd37d](d9bdd37d35) [@&#8203;bep](https://github.com/bep) [#&#8203;8693](https://github.com/gohugoio/hugo/issues/8693)
-   Remove credit from release notes [b2eaf4c8](b2eaf4c8c2) [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman)
-   Rename Header(s) to Heading(s) in ToC struct [a7e3da24](a7e3da242f) [@&#8203;bep](https://github.com/bep)

#### Fixes

##### Other

-   Fix tab selection of disabled items in internal pagination template [f75f9007](f75f90079a) [@&#8203;raoulb](https://github.com/raoulb)
-   Fix panic when theme has permalinks config [e451b984](e451b984cf) [@&#8203;bep](https://github.com/bep) [#&#8203;8724](https://github.com/gohugoio/hugo/issues/8724)
-   Fix Cloudflare vs Netlify cache dir issue [4c8552b1](4c8552b114) [@&#8203;bep](https://github.com/bep) [#&#8203;8714](https://github.com/gohugoio/hugo/issues/8714)
-   Fix date format in schema and opengraph templates [34e4742f](34e4742f0c) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8671](https://github.com/gohugoio/hugo/issues/8671)
-   Fix Netlify default cache dir logic [6c8c0c8b](6c8c0c8b6a) [@&#8203;bep](https://github.com/bep) [#&#8203;8710](https://github.com/gohugoio/hugo/issues/8710)
-   Fix handling of invalid OS env config overrides [49fedbc5](49fedbc51c) [@&#8203;bep](https://github.com/bep) [#&#8203;8709](https://github.com/gohugoio/hugo/issues/8709)
-   Fix config handling with empty config entries after merge [19aa95fc](19aa95fc7f) [@&#8203;bep](https://github.com/bep) [#&#8203;8701](https://github.com/gohugoio/hugo/issues/8701)
-   Fix config loading for "hugo mod init" [923dd9d1](923dd9d1c1) [@&#8203;bep](https://github.com/bep) [#&#8203;8697](https://github.com/gohugoio/hugo/issues/8697)
-   Fix language menu config regression [093dacab](093dacab29) [@&#8203;bep](https://github.com/bep) [#&#8203;8672](https://github.com/gohugoio/hugo/issues/8672)
-   Fix merge of config with map\[string]string values. [4a9d408f](4a9d408fe0) [@&#8203;bep](https://github.com/bep) [#&#8203;8679](https://github.com/gohugoio/hugo/issues/8679)

### [`v0.84.4`](https://github.com/gohugoio/hugo/releases/v0.84.4)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.3...v0.84.4)

This is a bug-fix release with a couple of important fixes.

-   Fix Cloudflare vs Netlify cache dir issue [4c8552b1](4c8552b114) [@&#8203;bep](https://github.com/bep) [#&#8203;8714](https://github.com/gohugoio/hugo/issues/8714)
-   Fix date format in schema and opengraph templates [34e4742f](34e4742f0c) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;8671](https://github.com/gohugoio/hugo/issues/8671)

### [`v0.84.3`](https://github.com/gohugoio/hugo/releases/v0.84.3)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.2...v0.84.3)

This is a bug-fix release with a couple of important fixes.

-   config: Fix Netlify default cache dir logic [6c8c0c8b](6c8c0c8b6a) [@&#8203;bep](https://github.com/bep) [#&#8203;8710](https://github.com/gohugoio/hugo/issues/8710)
-   config: Fix handling of invalid OS env config overrides [49fedbc5](49fedbc51c) [@&#8203;bep](https://github.com/bep) [#&#8203;8709](https://github.com/gohugoio/hugo/issues/8709)

### [`v0.84.2`](https://github.com/gohugoio/hugo/releases/v0.84.2)

[Compare Source](https://github.com/gohugoio/hugo/compare/v0.84.1...v0.84.2)

This is mostly a bug fix release, but it also contains some minor modules related improvements. Most notable you now get some more information in `  hugo config mounts `, and even more so when typing `  hugo config mounts -v `.

-   modules: Add module.import.noMounts config [40dfdd09](40dfdd0952) [@&#8203;bep](https://github.com/bep) [#&#8203;8708](https://github.com/gohugoio/hugo/issues/8708)
-   modules: Use value type for module.Time [3a6dc6d3](3a6dc6d3f4) [@&#8203;bep](https://github.com/bep)
-   commands: Add version time to "hugo config mounts" [6cd2110a](6cd2110ab2) [@&#8203;bep](https://github.com/bep)
-   commands: Add some more info to "hugo config mounts" [6a365c27](6a365c2712) [@&#8203;bep](https://github.com/bep)
-   Fix config handling with empty config entries after merge [19aa95fc](19aa95fc7f) [@&#8203;bep](https://github.com/bep) [#&#8203;8701](https://github.com/gohugoio/hugo/issues/8701)
-   Fix config loading for "hugo mod init" [923dd9d1](923dd9d1c1) [@&#8203;bep](https://github.com/bep) [#&#8203;8697](https://github.com/gohugoio/hugo/issues/8697)
-   deps: Update to Minify v2.9.18 [d9bdd37d](d9bdd37d35) [@&#8203;bep](https://github.com/bep) [#&#8203;8693](https://github.com/gohugoio/hugo/issues/8693)
-   Remove credit from release notes [b2eaf4c8](b2eaf4c8c2) [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman)

</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/hugo#7
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-07-06 09:22:00 +02:00

34 lines
1.4 KiB
Docker

FROM thegeeklab/alpine:latest@sha256:3de659c1a479d9d80e9c3924227981450af3a068087545a47360cfc2e70a91cc
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="Hugo static site generator"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/hugo"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/hugo"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/hugo"
ARG BUILD_VERSION
# renovate: datasource=github-releases depName=gohugoio/hugo
ENV HUGO_VERSION="${BUILD_VERSION:-v0.85.0}"
ENV HUGO_ENV=production
COPY overlay/ /
RUN apk add --update --no-cache --virtual .build-deps tar curl && \
apk add --update --no-cache libc6-compat libstdc++ busybox-suid bash bash-completion git tzdata make && \
echo "Installing hugo version '${HUGO_VERSION##v}' ..." && \
curl -SsL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION##v}_Linux-64bit.tar.gz" | \
tar xz -C /usr/local/bin hugo && \
chmod 755 /usr/local/bin/hugo && \
ln -s /usr/local/bin/hugo /usr/local/bin/hugo-official && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
rm -rf /root/.cache/
USER root
CMD ["help"]
ENTRYPOINT ["/usr/local/bin/hugo"]