diff --git a/hugo/Dockerfile b/hugo/Dockerfile index 5f31ef7..1e00a4b 100644 --- a/hugo/Dockerfile +++ b/hugo/Dockerfile @@ -1,13 +1,4 @@ -ARG DEBIAN_VERSION=20210408 +ARG ALPINE_VERSION=3.13.5 -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 \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* -COPY hugo.sh /root/hugo.sh -RUN /bin/sh /root/hugo.sh +FROM docker.io/alpine:${ALPINE_VERSION} +RUN apk add --no-cache hugo rsync openssh-client