agj

blog (sha256:abe721ecea6a74c830c136b51d5597399ef5789baf5bf9c1aa7b069d40be6c36)

Published 2025-01-11 15:39:14 +00:00 by agj in agj/blog

Installation

docker pull git.gtz.dk/agj/blog@sha256:abe721ecea6a74c830c136b51d5597399ef5789baf5bf9c1aa7b069d40be6c36
sha256:abe721ecea6a74c830c136b51d5597399ef5789baf5bf9c1aa7b069d40be6c36

Image Layers

ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add hugo git # buildkit
WORKDIR /hugo
RUN /bin/sh -c hugo new site /hugo # buildkit
RUN /bin/sh -c git clone https://github.com/yihui/hugo-xmin.git themes/hugo-xmin # buildkit
ADD hugo.toml /hugo/hugo.toml # buildkit
ADD content /hugo/content # buildkit
ADD static /hugo/static # buildkit
ADD shortcodes /hugo/layouts/shortcodes # buildkit
ENV PORT=1313
EXPOSE map[1313/tcp:{}]
CMD ["hugo" "serve" "--baseURL" "https://blog.gtz.dk/" "--bind" "0.0.0.0" "--port" "$PORT"]
Details
Container
2025-01-11 15:39:14 +00:00
1
OCI / Docker
linux/amd64
31 MiB
Versions (1) View all
latest 2025-01-11