Renovator Bot
56b99a3c3b
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.86.1` -> `v0.87.0` | --- ### Release Notes <details> <summary>gohugoio/hugo</summary> ### [`v0.87.0`](https://github.com/gohugoio/hugo/releases/v0.87.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.86.1...v0.87.0) Hugo `0.87` brings two long sought-after features: Default time zone support (per language if needed) for dates without zone offset or location info, and localized time and dates and numbers (backed by [CLDR](https://en.wikipedia.org/wiki/Common_Locale_Data_Repository)). For more information, see: - The [time zone config](https://gohugo.io/getting-started/configuration/#timezone) documentation. - The [time.Format](https://gohugo.io/functions/dateformat/) documentation. This function will now give you localized dates (with weekdays and months in the current language). It supports all of Go's layout syntax, but also some predefined constants, e.g. `{{ .Date | time.Format ":date_long" }}`. - A set of new [localized number formatting ](https://gohugo.io/functions/lang/) Also in this release, we have switched to using [go-toml](https://github.com/pelletier/go-toml) for all things TOML in Hugo. A big thanks to [@​pelletier](https://github.com/pelletier) for his work on the `v2` version. It's both faster than what we had and [TOML v1.0.0](https://toml.io/en/v1.0.0) compliant. This release represents **40 contributions by 4 contributors** to the main Hugo code base.[@​bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@​dependabot\[bot\]](https://github.com/apps/dependabot), [@​digitalcraftsman](https://github.com/digitalcraftsman), and [@​jmooring](https://github.com/jmooring) 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: - 53261+ [stars](https://github.com/gohugoio/hugo/stargazers) - 430+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) - 395+ [themes](http://themes.gohugo.io/) #### Notes - Deprecate Blackfriday and fix a potential deadlock in config [c7252224](c7252224c4
) [@​bep](https://github.com/bep) [#​8792](https://github.com/gohugoio/hugo/issues/8792)[#​8791](https://github.com/gohugoio/hugo/issues/8791) #### Enhancements ##### Templates - Adjust tests to handle matching local time zones [9ff17c33](9ff17c3324
) [@​bep](https://github.com/bep) [#​8843](https://github.com/gohugoio/hugo/issues/8843) - Add new localized versions of lang.FormatNumber etc. [7907d24b](7907d24ba1
) [@​bep](https://github.com/bep) [#​8820](https://github.com/gohugoio/hugo/issues/8820) ##### Other - Make sure module config loading errors have file positioning info [d70c4857](d70c485707
) [@​bep](https://github.com/bep) [#​8845](https://github.com/gohugoio/hugo/issues/8845) - Remove superflous replace statement [7aaaf7e3](7aaaf7e33a
) [@​bep](https://github.com/bep) - Reduce binary size vs locale, update to CLDR v36.1 [3a966555](3a96655592
) [@​bep](https://github.com/bep) [#​8839](https://github.com/gohugoio/hugo/issues/8839)[#​8841](https://github.com/gohugoio/hugo/issues/8841) - Update github.com/tdewolff/minify/v2 v2.9.20 => v2.9.21 [9a7383ca](9a7383caf3
) [@​jmooring](https://github.com/jmooring) [#​8831](https://github.com/gohugoio/hugo/issues/8831) - Fail on invalid time zone [4d221ce4](4d221ce468
) [@​bep](https://github.com/bep) [#​8832](https://github.com/gohugoio/hugo/issues/8832) - Improve handling of <nil> Params [e3dc5240](e3dc5240f0
) [@​bep](https://github.com/bep) [#​8825](https://github.com/gohugoio/hugo/issues/8825) - Merge branch 'release-0.86.1' [268065cb](268065cb2d
) [@​bep](https://github.com/bep) - bump github.com/evanw/esbuild from 0.12.16 to 0.12.17 [e90b3591](e90b3591a1
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/getkin/kin-openapi from 0.67.0 to 0.68.0 [4b7da6a9](4b7da6a9d7
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - Go back to WARNING for Page deprecations [726fe9c3](726fe9c3c9
) [@​bep](https://github.com/bep) - Handle toml.LocalDate and toml.LocalDateTime in front matter [b5de37ee](b5de37ee79
) [@​bep](https://github.com/bep) [#​8801](https://github.com/gohugoio/hugo/issues/8801) - Upgrade github.com/pelletier/go-toml/v2 v2.0.0-beta.3 => v2.0.0-beta.3.0.20210727221244-fa0796069526 [bf301daf](bf301daf15
) [@​bep](https://github.com/bep) - Switch to go-toml v2 [a3701e09](a3701e0931
) [@​bep](https://github.com/bep) [#​8801](https://github.com/gohugoio/hugo/issues/8801) - bump github.com/tdewolff/minify/v2 from 2.9.19 to 2.9.20 [40b6016c](40b6016cf3
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - Add a TOML front matter benchmark [7e130571](7e1305710f
) [@​bep](https://github.com/bep) - Add timezone support for front matter dates without one [efa5760d](efa5760db5
) [@​bep](https://github.com/bep) [#​8810](https://github.com/gohugoio/hugo/issues/8810) - Localize time.Format [a57dda85](a57dda854b
) [@​bep](https://github.com/bep) [#​8797](https://github.com/gohugoio/hugo/issues/8797) - bump github.com/getkin/kin-openapi from 0.61.0 to 0.67.0 [f9afba93](f9afba9335
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/spf13/cast from 1.3.1 to 1.4.0 [a5d2ba42](a5d2ba429d
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump google.golang.org/api from 0.45.0 to 0.51.0 [31972f36](31972f3647
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/sanity-io/litter from 1.5.0 to 1.5.1 [2e58782f](2e58782f96
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13 [7b68f652](7b68f6524d
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/spf13/cobra from 1.1.3 to 1.2.1 [81265af2](81265af2cc
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/mitchellh/mapstructure from 1.3.3 to 1.4.1 [c102c971](c102c9719b
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/google/go-cmp from 0.5.5 to 0.5.6 [7c0f904f](7c0f904f29
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/mitchellh/hashstructure from 1.0.0 to 1.1.0 [b2fbd4d1](b2fbd4d13a
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/gobuffalo/flect from 0.2.2 to 0.2.3 [90041d1b](90041d1b6d
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/pelletier/go-toml from 1.9.0 to 1.9.3 [05047096](05047096f5
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/aws/aws-sdk-go from 1.38.23 to 1.40.8 [a469156e](a469156ea4
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - bump github.com/tdewolff/minify/v2 from 2.9.18 to 2.9.19 [18fdd85b](18fdd85bcc
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - Update github.com/evanw/esbuild v0.11.16 => v0.12.16 [aeb1935d](aeb1935d44
) [@​bep](https://github.com/bep) - Update github.com/yuin/goldmark v1.3.9 => v1.4.0 [e09d7882](e09d7882c8
) [@​bep](https://github.com/bep) - bump github.com/frankban/quicktest from 1.12.0 to 1.13.0 [15c0eed0](15c0eed048
) [@​dependabot\[bot\]](https://github.com/apps/dependabot) - Bump all long-living deprecations to ERRORs [91cbb963](91cbb96302
) [@​bep](https://github.com/bep) #### Fixes ##### Other - Fix error handling for the time func alias [6c70e1f2](6c70e1f22f
) [@​bep](https://github.com/bep) [#​8835](https://github.com/gohugoio/hugo/issues/8835) - Fix a potential deadlock in config reading [94b616bd](94b616bdfa
) [@​bep](https://github.com/bep) [#​8791](https://github.com/gohugoio/hugo/issues/8791) - Fix theme count in release notes [a352d19d](a352d19d88
) [@​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#11 Co-authored-by: Renovator Bot <renovator@rknet.org> Co-committed-by: Renovator Bot <renovator@rknet.org>
34 lines
1.4 KiB
Docker
34 lines
1.4 KiB
Docker
FROM thegeeklab/alpine:latest@sha256:7d0dbf6ecb37051165824f5b37b60a90d309eef50fd1f5e9690d4cf26ff0a0f6
|
|
|
|
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.87.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"]
|