mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
13 lines
332 B
Docker
13 lines
332 B
Docker
ARG DEBIAN_VERSION=20210408
|
|
|
|
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 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY hugo.sh /root/hugo.sh
|
|
RUN /bin/sh /root/hugo.sh
|