hugo-builder (0dfe3f3ce0b91495af0f1867c54394ed97fa550b)

Published 2025-05-10 09:49:07 -06:00 by brd-ci in d-b.ca/hugo-builder

Installation

docker pull git.brds.ca/d-b.ca/hugo-builder:0dfe3f3ce0b91495af0f1867c54394ed97fa550b
sha256:85dee62f235c140475d16611a635a1cb8e489a0e743ae4e1e98caea98a51fb1f

About this package

Image based on the standard Golang image containing Hugo.

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1745798400'
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; rm -rf /var/lib/apt/lists/* # buildkit
ENV GOLANG_VERSION=1.24.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
WORKDIR /go/hugo
RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.tar.gz && tar xvvzf hugo_${HUGO_VERSION}_linux-amd64.tar.gz && mv hugo /usr/bin
RUN rm -rf /go/hugo

Labels

Key Value
org.opencontainers.image.authors drew@brds.ca
org.opencontainers.image.description Image based on the standard Golang image containing Hugo.
org.opencontainers.image.title D-B.CA Hugo Website Builder
Details
Container
2025-05-10 09:49:07 -06:00
3
OCI / Docker
linux/amd64
drew@brds.ca
329 MiB
Versions (4) View all