mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 10:43:28 +00:00
Update hugo/Dockerfile
This commit is contained in:
parent
51319d06e3
commit
26eb50901d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user