hugo/Dockerfile
Renovator Bot a029e2e79a
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.88.0 (#15)
This PR contains the following updates:

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

---

### Release Notes

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

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

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

**Note: There's some missing ARM64 binaries for MacOS, see [#&#8203;8952](https://github.com/gohugoio/hugo/issues/8952)**

The most important piece in this release is the Go 1.17 update. This release is built with that new Go version, but also and more importantly, the Hugo Modules logic has been updated to support Go's new way of (lazy) loading transitive dependencies. If you already have Go 1.17 installed, building existing Hugo Modules backed projects have not been an issue, but `hugo mod init` for a new project could give you *too new* versions of transitive dependencies. Hugo 0.88 fixes this.

This release represents **26 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;dependabot\[bot\]](https://github.com/apps/dependabot), [@&#8203;helfper](https://github.com/helfper), and [@&#8203;wzshiming](https://github.com/wzshiming) for their ongoing contributions.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **9 contributions by 6 contributors**. A special thanks to [@&#8203;bep](https://github.com/bep), [@&#8203;jmooring](https://github.com/jmooring), [@&#8203;StevenMaude](https://github.com/StevenMaude), and [@&#8203;coliff](https://github.com/coliff) for their work on the documentation site.

Hugo now has:

-   53915+ [stars](https://github.com/gohugoio/hugo/stargazers)
-   430+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
-   404+ [themes](http://themes.gohugo.io/)

#### Notes

-   We have fixed a bug with the import order in `js.Build` for the case `./foo` when both `./foo.js` and `./foo/index.js` exists. This is in line with how both Node and ESBuild's native import resolver does it. We discovered this trying to build AlpineJS v3 from source mounted in `/assets`. See [cf73cc2e](cf73cc2ece) [@&#8203;bep](https://github.com/bep) [#&#8203;8945](https://github.com/gohugoio/hugo/issues/8945).

#### Enhancements

##### Templates

-   Handle nil values in time.AsTime" [abd969a6](abd969a670) [@&#8203;bep](https://github.com/bep)
-   Handle nil values in time.AsTime [3e110728](3e11072892) [@&#8203;bep](https://github.com/bep) [#&#8203;8865](https://github.com/gohugoio/hugo/issues/8865)

##### Other

-   Run go mod tidy [6631c9c7](6631c9c7e0) [@&#8203;bep](https://github.com/bep)
-   Don't fail on template errors on go mod graph etc. [7d1f806e](7d1f806ecb) [@&#8203;bep](https://github.com/bep) [#&#8203;8942](https://github.com/gohugoio/hugo/issues/8942)
-   bump github.com/getkin/kin-openapi from 0.74.0 to 0.75.0 [04b59599](04b5959961) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/frankban/quicktest from 1.13.0 to 1.13.1 [c278b6e4](c278b6e45d) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/evanw/esbuild from 0.12.22 to 0.12.24 [107c86fe](107c86febb) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   Avoid failing with "module not found" for hugo mod init and similar [a0489c2d](a0489c2dfd) [@&#8203;bep](https://github.com/bep) [#&#8203;8940](https://github.com/gohugoio/hugo/issues/8940)
-   Update to Go 1.17 [0fc2ce9e](0fc2ce9e4b) [@&#8203;bep](https://github.com/bep) [#&#8203;8930](https://github.com/gohugoio/hugo/issues/8930)
-   Remove Pygments from snapcraft.yml [32569285](32569285c1) [@&#8203;anthonyfok](https://github.com/anthonyfok)
-   bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0" [5a46eefb](5a46eefbc6) [@&#8203;bep](https://github.com/bep) [#&#8203;8920](https://github.com/gohugoio/hugo/issues/8920)
-   Add tabindex when code is not highlighted [7a15edaf](7a15edafe2) [@&#8203;helfper](https://github.com/helfper)
-   bump github.com/evanw/esbuild from 0.12.17 to 0.12.22 [2f0945ba](2f0945bafe) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump golang.org/x/text from 0.3.6 to 0.3.7 [7ba3f3d2](7ba3f3d201) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0 [f7016524](f70165242b) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   Prevent minifier from removing quoutes around post-processed attributes [bc0743ed](bc0743ed8e) [@&#8203;bep](https://github.com/bep) [#&#8203;8884](https://github.com/gohugoio/hugo/issues/8884)
-   Avoid too many watch file handles causing the server to fail to start" [ffa2fe61](ffa2fe6117) [@&#8203;bep](https://github.com/bep)
-   Remove some pygments references [d966f5d0](d966f5d08d) [@&#8203;helfper](https://github.com/helfper)
-   Avoid too many watch file handles causing the server to fail to start [3f38c785](3f38c785b7) [@&#8203;wzshiming](https://github.com/wzshiming) [#&#8203;8904](https://github.com/gohugoio/hugo/issues/8904)
-   bump github.com/getkin/kin-openapi from 0.68.0 to 0.74.0 [24589c08](24589c0814) [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot)
-   Update github.com/spf13/cast v1.4.0 => v1.4.1 [efebd756](efebd756eb) [@&#8203;bep](https://github.com/bep) [#&#8203;8891](https://github.com/gohugoio/hugo/issues/8891)
-   Import time/tzdata on Windows [58b6742c](58b6742cfe) [@&#8203;bep](https://github.com/bep) [#&#8203;8892](https://github.com/gohugoio/hugo/issues/8892)
-   Indent TOML tables [9bba9a3a](9bba9a3a98) [@&#8203;bep](https://github.com/bep) [#&#8203;8850](https://github.com/gohugoio/hugo/issues/8850)

#### Fixes

##### Other

-   Fix import order for ./foo when both ./foo.js and ./foo/index.js exists [cf73cc2e](cf73cc2ece) [@&#8203;bep](https://github.com/bep) [#&#8203;8945](https://github.com/gohugoio/hugo/issues/8945)
-   Fix it so disableKinds etc. does not get merged in from theme [f4ffeea7](f4ffeea71d) [@&#8203;bep](https://github.com/bep) [#&#8203;8866](https://github.com/gohugoio/hugo/issues/8866)
-   Fix `lang.FormatPercent` description [d6c8cd77](d6c8cd7718) [@&#8203;salim-b](https://github.com/salim-b)

</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#15
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-09-02 17:27:57 +02:00

34 lines
1.4 KiB
Docker

FROM thegeeklab/alpine:latest@sha256:7cc5b84a82aea8c8e67c57a0de185a7025e029d98691e79afd5e32a2eddde618
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.88.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"]