Update hugo/Dockerfile

This commit is contained in:
Adrien le Maire 2021-05-09 20:09:56 +00:00
parent 51319d06e3
commit 26eb50901d

View File

@ -1,13 +1,4 @@
ARG DEBIAN_VERSION=20210408 ARG ALPINE_VERSION=3.13.5
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim as builder FROM docker.io/alpine:${ALPINE_VERSION}
ARG HUGO_VERSION RUN apk add --no-cache hugo rsync openssh-client
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