From 26eb50901dd358aa08516ec521d53c9fd13a669e Mon Sep 17 00:00:00 2001 From: Adrien le Maire Date: Sun, 9 May 2021 20:09:56 +0000 Subject: [PATCH] Update hugo/Dockerfile --- hugo/Dockerfile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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