buildx/hugo/Dockerfile

13 lines
332 B
Docker
Raw Normal View History

ARG DEBIAN_VERSION=20210408
ARG HUGO_VERSION
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim as builder
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
2021-05-08 11:14:00 +00:00
RUN /bin/sh /root/hugo.sh