mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +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
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user