This commit is contained in:
parent
109a64ef6f
commit
7a29b9152c
@ -1,11 +1,12 @@
|
||||
FROM archlinux/base
|
||||
|
||||
ENV container=docker
|
||||
ENV HUGO_VERSION 0.66.0
|
||||
ENV HUGO_VERSION 0.67.0
|
||||
|
||||
ARG BUILD_DATE
|
||||
ARG VCS_REF
|
||||
|
||||
LABEL description="Docker image for building websites with Hugo static site generator."
|
||||
|
||||
LABEL org.label-schema.build-date=$BUILD_DATE \
|
||||
org.label-schema.vcs-url="https://github.com/wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/docker-archlinux-hugo.git" \
|
||||
org.label-schema.vcs-ref=$VCS_REF
|
||||
@ -13,7 +14,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
|
||||
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz ./hugo.tar.gz
|
||||
|
||||
|
||||
RUN pacman -Syu --noconfirm --needed git openssh rsync \
|
||||
RUN pacman -Syu --noconfirm --needed git \
|
||||
&& pacman -Scc \
|
||||
&& rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user