ktm-hugo-kontti (latest)
Published 2025-12-04 13:16:31 +02:00 by thfr
Installation
docker pull git.puppisrausku.dy.fi/thfr/ktm-hugo-kontti:latestsha256:a63e6a7c9b8fd69fd4916cfd98201fbbdb4d5cb0ae90373d5bda2a5427f73897About this package
The world’s fastest framework for building websites.
Image layers
| ADD alpine-minirootfs-3.22.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit |
| ENV GOLANG_VERSION=1.25.3 |
| ENV GOTOOLCHAIN=local |
| ENV GOPATH=/go |
| ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY /target/ / # buildkit |
| RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit |
| WORKDIR /go |
| COPY /usr/bin/hugo /usr/bin/hugo # buildkit |
| RUN /bin/sh -c apk add --no-cache libc6-compat git runuser nodejs npm # buildkit |
| RUN /bin/sh -c mkdir -p /var/hugo/bin /cache && addgroup -Sg 1000 hugo && adduser -Sg hugo -u 1000 -h /var/hugo hugo && chown -R hugo: /var/hugo /cache && runuser -u hugo -- git config --global --add safe.directory /project && runuser -u hugo -- git config --global core.quotepath false # buildkit |
| USER hugo:hugo |
| VOLUME [/project] |
| WORKDIR /project |
| ENV HUGO_CACHEDIR=/cache |
| ENV PATH=/var/hugo/bin:/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY scripts/docker/entrypoint.sh /entrypoint.sh # buildkit |
| COPY /out/dart-sass /var/hugo/bin/dart-sass # buildkit |
| ENV PATH=/var/hugo/bin/dart-sass:/var/hugo/bin:/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| EXPOSE [1313/tcp] |
| ENTRYPOINT ["/entrypoint.sh"] |
| CMD ["--help"] |
| USER root |
| /bin/sh -c apk add git lftp openssh |
| USER hugo |
| ENTRYPOINT /bin/sh |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.39.3 |
| org.opencontainers.image.created | 2025-10-24T15:47:39.570Z |
| org.opencontainers.image.description | The world’s fastest framework for building websites. |
| org.opencontainers.image.licenses | Apache-2.0 |
| org.opencontainers.image.revision | 6abdacad3f3fe944ea42177844469139e81feda6 |
| org.opencontainers.image.source | https://github.com/gohugoio/hugo |
| org.opencontainers.image.title | hugo |
| org.opencontainers.image.url | https://github.com/gohugoio/hugo |
| org.opencontainers.image.version | v0.152.2 |