hugo-deployment (f956eedaa5ff312724f1fa5acf5ca86a3b3f8cd0)

Published 2026-04-19 05:51:19 +00:00 by cliper

Installation

docker pull git.develton.com/cliper/hugo-deployment:f956eedaa5ff312724f1fa5acf5ca86a3b3f8cd0
sha256:8d32ae25f8a24eef2c31af45cdb0644045c7581eee392016aafae0b30f2f763e

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1775433600'
ARG HUGO_VERSION=0.160.0
RUN |1 HUGO_VERSION=0.160.0 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git rsync openssh-client tar && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 HUGO_VERSION=0.160.0 /bin/sh -c case "$(dpkg --print-architecture)" in amd64) asset="hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" ;; arm64) asset="hugo_extended_${HUGO_VERSION}_linux-arm64.tar.gz" ;; *) echo "Unsupported architecture: $(dpkg --print-architecture)" >&2; exit 1 ;; esac && curl -fsSLo /tmp/hugo-checksums.txt "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt" && curl -fsSLo /tmp/hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${asset}" && grep " ${asset}$" /tmp/hugo-checksums.txt | sed 's# .*# /tmp/hugo.tar.gz#' > /tmp/hugo.tar.gz.sha256 && sha256sum -c /tmp/hugo.tar.gz.sha256 && tar -xzf /tmp/hugo.tar.gz -C /tmp hugo && install -m 0755 /tmp/hugo /usr/local/bin/hugo && rm -rf /tmp/hugo /tmp/hugo.tar.gz /tmp/hugo-checksums.txt /tmp/hugo.tar.gz.sha256 # buildkit
WORKDIR /workspace
Details
Container
2026-04-19 05:51:19 +00:00
0
OCI / Docker
linux/amd64
80 MiB
Versions (8) View all