buildx/hugo/Dockerfile

14 lines
355 B
Docker
Raw Normal View History

ARG DEBIAN_VERSION=20210408
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim as builder
2021-05-08 11:50:20 +00:00
ARG HUGO_VERSION
RUN apt-get update && apt-get install -y --no-install-recommends \
rsync \
openssh-client \
wget \
ca-certificates \
2021-05-08 12:01:52 +00:00
&& apt-get clean \
&& 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