agj

blog (sha256:e112e7e283b4f6939f3d476c45417a947901c7fccb4da98450500dc4405a149d)

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

Installation

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

Image Layers

ADD alpine-minirootfs-3.21.2-aarch64.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
0
OCI / Docker
linux/arm64
30 MiB
Versions (1) View all
latest 2025-01-11