Renovator Bot
e1fbc115d9
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | thegeeklab/alpine | final | pin | `latest` -> `latest` | 📌 **Important**: Renovate will wait until you have merged this Pin PR before creating any *upgrade* PRs for the affected packages. Add the preset `:preserveSemverRanges` to your config if you instead don't wish to pin dependencies. --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻️ **Rebasing**: Whenever PR is behind base branch, 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#1 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:1d985a44c907f1dafaeaeb40f52b569c8f52877491fe12f9262084d1875b91d4
|
|
|
|
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.83.1}"
|
|
|
|
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"]
|