buildx/hugo/Dockerfile

13 lines
332 B
Docker

ARG DEBIAN_VERSION=20210408
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim as builder
ARG HUGO_VERSION
RUN apt-get update && apt-get install -y --no-install-recommends \
rsync \
openssh-client \
wget \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY hugo.sh /root/hugo.sh
RUN /bin/sh /root/hugo.sh